Running multiple shortcodes on one page
-
I run the [custom-facebook-feed] shortcode multiple times on a page. On the blog page, I’ll have the main shortcode running for 20 of the latest posts, images, videos, etc and in the footer I’ll have the shortcode run to show only the latest status.
This causes some problems because they both have an element id of #cff and seem to struggle with data. The main shortcode sometimes only shows 2 posts, instead of 20. Even if I set the limit to both shortcodes to 40. I think the style parameters of the last widget to execute are affecting both widgets because of the conflicting ids.
Any way to solve this conflict?
The topic ‘Running multiple shortcodes on one page’ is closed to new replies.