scripts

Implementing AOS (Animate on Scroll) script into GP

I’m having trouble embedding a piece of script from the AOS Library using GP Hooks as well as through the functions.php page. I’ve tried both but they don’t work. This is what I’ve tried in GP Hooks: <link href="https://cdn.rawgit.com/michalsnik/aos/2.1.1/dist/aos.css" rel="stylesheet"> <script src="https://cdn.rawgit.com/michalsnik/aos/2.1.1/dist/aos.js"></script> <script>AOS.init();</script> I’ve also tried putting an enqueue function in my child theme functions.php … Read more

Trying to integrate a 3rd party script :(

A client of mine wants to achieve this type of effect for sections of their site. https://tympanus.net/Blueprints/ScrollingLayout/ I have tried to integrate this into GeneratePress. It works, and I have it sat below the header on the home page. The problem is, anything below this is hidden, so I can’t see the rest of the … Read more

What's the best way to add to header (favicons, etc..)

Using Favicon Generator I want to juice up the header with all these goodies. In your opinion, what’s the best way to add these? Would you be using wp_enqueue_style() / wp_enqueue_sscript() or a swift plugin solution like Header and Footer Scripts? Perhaps using a child theme create a header? This is the code I wish … Read more

Where to put FB & G+ script for share buttons?

Hi I tried adding FB and G+ share/like buttons on a post and they didn’t quite work. The buttons appear but the counts are the default like 1.4m which is a bit of a lie really. I clicked the FB like button and the pop-up didn’t show the whole window! It says to stick the … Read more