Occasionally a project requires some stats to show off and there is no better way than by adding a little animation to the number values. Historically I would use a script like CountUp.js but on a few projects I used that on, ran into a few issues that needed attention to avoid console errors depending … Continued
Why use your own bandwidth when you can use Google’s own! This snippet ensures your WordPress website correctly calls the Google jQuery library direct from Google for speed, security and reliability: NB: Just make sure you use the above with… …in your header file, or wherever your wp_head scripts get called from.
I needed to target a particular parent menu and add an additional class to the sub-menu ul element. As WordPress builds the menu, you won’t find it in any theme files. Also, I didn’t want to add this globally as the site I was working on was responsive and I shared the same class on … Continued