Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

plugin doesn’t always work in blog posts

$
0
0

Replies: 0

When I include the plugin in blog posts, it works in some posts, but not in others. seemingly randomly depending on the post, with no js or php errors.

I’ve narrowed it down to the widgets.js script not including the iframe above the div with class = ftb-widget (which is always included on posts). I also noticed when the plugin does work, the widgets.js is included in the below the page footer, but when it doesn’t work, it’s included in the head. Could this be an issue with the wp script enqueueing system? or the shortcode system because i saw that the widgets.js is enqueued in the callback function for the shortcode.

Hope this helps you guys figure whats going on. let me know if you need anymore details.


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>