Problem:
Client is using a Content Template to generate the HTML required to work with the "thickbox" lightbox but popups are all showing the content of the first result in the Loop.
Solution:
The same id was being used for all of the target DIVs and the href links to open them. Using the shortcode to append the post-id field to the id ensured unique ids on each iteration of the Loop.
Relevant Documentation:
https://toolset.com/documentation/woocommerce-views-shortcodes/
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 |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
This topic contains 2 replies, has 2 voices.
Last updated by Timothy 7 years, 10 months ago.
Assisted by: Nigel.