How to wp_enqueue socialite.pinterest.js
-
I am trying to conditionally load scrips and css based on the pages they are required. I am using wp_dequeue to do this. But it only works if the scrips and css are enqueued. Is there an easy way to do this in the code. I tried playing with it but though I was able to prevent it from loading by add wp_enqueue in wpsocialite.php, it broke the mouseover on load function for the pinterest button (even though the button still worked but it never switched from the sprite image to the button).
Thoughts?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘How to wp_enqueue socialite.pinterest.js’ is closed to new replies.