Using ScrollNav to control long documents in WordPress
…page, the. One of the key things is setting the top attribute on .scroll-nav.fixed .scroll-nav__wrapper which fixes the navigation in place when the user scrolls past that pixel height. /*ScrollNav…
Read MoreUsing wp_localize_script with jQuery variables including strings, booleans and integers
…values language translatable if required, but also used to pass user defined variables/settings say from a plugin to load via a jQuery init file for a jQuery plugin. By default…
Read MoreAdding a loading icon spinner on Search & Filter Pro Archive Page
Search & Filter Pro is a great WordPress filter tool, here is a guide to add a loading icon animation whilst the page is ajax refreshed when the user has…
Read MoreShow related posts in Beaver Builder from one CPT to another with ACF Relationships
…Lights CPT is also selected, this will allow the user to filter posts by taxonomy. This field group is then assigned to appear on the Projects CPT. Relationship Field in…
Read MoreRemove Meta Boxes in Genesis Theme Settings
You can remove the metaboxes that appear in the Genesis theme settings in the WordPress dasgboard – this may help when you want an end user not to use or…
Read MoreUsing Slidebars to Slide In and Out Content in A Genesis Theme
…it can slide in content that takes prominence, do what it needs to do for the user and then slide out again, Slidebars is a jQuery plugin solution that does…
Read MoreSetting Up GeoIP Location on Piwik on ServerPilot
Using a combination of ServerPilot and a Vultr server instance is a great solution for a Piwik server for tracking analytics. After setting up the initial Piwik install here is…
Read MoreDisplay CSS Animations When In Browser Viewport
…before the user has scrolled to it. Here’s where Waypoints can solve the problem. (This example is done using WordPress). Waypoints allows you to run a script when it reaches…
Read MoreAdding Expires Header to htaccess
Expires Headers are a set of rules or directives from a website to tell a user’s local browser to either look in its own cache for files or to request…
Read MoreRestrict WooCommerce Shipping Calculator to Specific Countries and States
Here is how you can restrict specific Countries and States in WooCommerce Shipping Calculator, so a user can only select from what is available. Countries The Countries field is handled…
Read More