The Definitive Guide to Setting Up WordPress in 2024: A Bristol Freelance Web Developer’s Essential Setup
In the ever-evolving landscape of website development, staying ahead of the curve...
Simple bit of jQuery to add an active class to the current navigation item based on the page url.
jQuery("nav a").each(function() {
if (this.href == window.location.href) {
jQuery(this).addClass("active-sidebar");
}
});
Share
In the ever-evolving landscape of website development, staying ahead of the curve...
In the digital realm, your website serves as the cornerstone of your...
In the ever-evolving world of e-commerce, having a robust and flexible platform...
A useful bit of code to prevent files from being accessed (or hotlinked) in WordPress. Prevent files from being directly...
Need a bespoke WooCommerce site with dynamic content for two types of visitor? For example, this is from a recent...
Handy bit of code you can use in your custom templates that grabs the all the page or post data by ID:...