Hello Tarrence, Sorry for delayed replay. I am not able to regenerate this issue in our local development server. Please setup team viewer and contact me. Time: 5pm – 10pm (IST)
Hello, Please use below code to check if current page is anspress: if(is_anspress()){ // Your enqueue script }
Yes, this is an old Anspress bug, still unfixed.
I think WP site owners should stop auto-updating to the very latest version of WordPress, before testing (on a test subdomain) if all their plugins work. Usually they do not in every MAJOR update (WP 4.4 to WP 4.5 for example). Updating to the very latest WP and then ask for help because their plugin(s) do not work as expected will no help, it will take sometime until the bugs are discovered and fixed. And who knows if it is a bug of WP or of the plugin. Personally i have stayed at WP 4.4.4 because of all that problems introduced with 4.5 and 4.6. You should stop running after updates and work with your site(s). Just a friendly advice. The same goes for people stuck with SEO hype.
i solved it temporary with old version.
I have to correct my self. It works for WP 4.4. Trying to do so in WP 4.6 it doesn’t work at. So it is a problem between WP 4.5 / 4.6 and Anspress. And if i remember correctly Rahul has suggested a plugin for that, as a temp fix.
Well most of the social plugins don’t work right, because of the way Anspress works. I mean, they work but they can’t “get” the correct url of the Question. Or they put their social links once in the Question and ALSO in each Answer and that is messy and ugly. What i have found it works 100% is https://wordpress.org/plugins/social-media-feather/ Because you can select to display on custom posts and you select Questions. That way you get it ONCE. Maybe others also exist, you have to test them each and every.
Try this plugin, i does work great for me. https://wordpress.org/plugins/oh-add-script-header-footer/
Or create custom widget areas.