Hi Apeck,
Not sure I understand completely. Do you mean, for example, if you have 5 posts in a loop, and each post has a [metaslider] shortcode in it, you want to pull out those [metaslider] shortcodes and display those slideshows somewhere else?
Regards,
Tom.
Thread Starter
Apeck
(@apeck)
Yes just in a separate div to the content
Hi Apeck, thats not too easy and not something that would usually be covered by us as support. You might get a better response if you post in the general wordpress forums.
To get you on your way, the pseudo code might be:
in your loop:
for each post
extract the [metaslider] shortcode from the post
save the shortcode to an array
end for each
then in your div:
for each saved shortcode in the array
do_shortcode(shortcode)
end for each
————-
If you just want to display the latest X slideshows then that would be much simpler, let me know if thats the case and I’ll write up the code.
Regards,
Tom.
Thread Starter
Apeck
(@apeck)
What you have provided is great, thanks for the help.
No problem, good luck! If you get close, but not quite there, post your code here and I’ll take a look when I get a few minutes spare.
Please consider leaving a review for Meta Slider if you get a moment.
Regards,
Tom.