Multiple shortcodes at the same time?
-
Hi.
I would like to make a website where I have my galleries listed in the sidebar, and when a gallery within the sidebar is clicked, the relating thumbnails show up in the main content page are. This behavior I have managed to produce by editing sidebar.php and crating a custom template, based on the condition “$url = “http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]” I echo the short code I would like.
However….I want the sidebar galleries to stay as galleries when they are clicked, and only main content page displaying the thumbnails.
When a gallery is clicked, I manage only to get thumbnails in both sidebar and main content page or only main content page in main content page, no matter if the code in sidebar is static or dynamic.
It’s as if Nextgen will not allow two different “do_shortcode” based on the condition “$url = “http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]”
Do any one have an idea on how I can reach my goal?
Thanks in advanced for your help.
https://wordpress.org/plugins/nextgen-gallery/
[Moderator Note: No bumping, thank you.]
The topic ‘Multiple shortcodes at the same time?’ is closed to new replies.