Skip Navigation

[Geschlossen] Bundle multiple widgets in one section

This support ticket is created vor 8 Jahre, 4 Monate. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 Antworten, has 2 Stimmen.

Last updated by Luo Yang vor 8 Jahre, 3 Monate.

Assigned support staff: Luo Yang.

Author
Artikel
#274118
2015-01-07_16-01-08.jpg

Hi, in this topic (https://toolset.com/forums/topic/missing-sidewide-sections-on-toolset-bootstrap/page/3/#post-132302) I learned how to change the 'before' and 'after' HTML for widgets.

On my website:

<em><u>hidden link</u></em>

I included three times the 'WooCommerce Layered Nav' widgets.

The problem I had with this, I wanted this widgets not to be 'individual' in my HTML structure, but it needed to be one 'section'. So I managed to this this by changing the HTML values of this widgets, see my image.

But now the problem. Then I only had ONE SHOPPING CATEGORY, showing always these three widgets so it was easy to put HTML before the first widget and to put HTML after the last widgets.

But now I have a new category and planning to do lot's more, where for example only one WooCommerce Layered Nav widgets is showing:

<em><u>hidden link</u></em>

Now my functions.php does not work anymore for this and my HTML structure I wanted is gone...

Whats the best way to approuch this issue?

Kind regards,

Willem

#274264

Luo Yang
Supporter

Languages: Englisch (English ) Vereinfachtes Chinesisch (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Is this problem resolved?
I can not see any broken HTML code in the problem URL you mentioned above:
hidden link

Since your website isn't in English, I am not sure where should I check the problem,
Are you going to output one widget into three widget HTML structure?

#280919

Hi Luo,

What I'm doing here:

<em><u>hidden link</u></em>

is wrapping the three 'WooCommerce Layered Nav' widgets, in one HTML

<section>

with the title 'Keuzehulp' > changing the before and after value of the first and last 'WooCommerce Layered Nav' widget, that is what you can see on the previous provided image.

At that moment, I only had one shopping category, and I always knew these three 'WooCommerce Layered Nav' widgets would be on the page, so the HTML would be the way I wanted.

But now I had created an extra category, that is only showing ONE 'Woocommerce Layered Nav' widget, and because of that my HTML that I have added before the nav-3 woocommerce layered nav widget is not included anymore, since this nav-3 widgets is not showing on that category page...

Kind regards,

Willem

#281709

Luo Yang
Supporter

Languages: Englisch (English ) Vereinfachtes Chinesisch (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Please duplicate same problem in a test site and fill below privately box with login details, also point out the problem widgets, and the problem URL, I need a live website to test and debug, thanks

Das Thema „[Geschlossen] Bundle multiple widgets in one section“ ist für neue Antworten geschlossen.