WP Disable links with an Empty href

After much searching and fiddling I finally found a solution to this problem… Basically I have a site where some top level items in the main menu are purely for categorization; they don’t have actual pages to link to. So how do we prevent them from...

Smart WP redirects

So I was trying to figure out how to redirect from a category page in WordPress to another page. It’s not too hard. To do it manually I just used the following: function my_page_template_redirect() { if ( is_category( 'zero-emission-transport' ) ) { $url =...

Self-employment and tax

The tax man comes’a’knocking, every year. Relentless and uncaring. Kind of like the Groke. It’s pretty boring but vital for every self-employed person to be somewhat aware of what’s required and what’s to come. I have just a few tips that...

Self Employment Adventures

There are a number of things I wish I could’ve know when I was starting out my career as a freelancer. I’m going to write a few short blog entries here to try and pass on some tips and encouragement to anyone who may be early on in their self employment...

Advanced ACF Relationship Query

So the problem with this was solved, but it became even trickier. So what I wanted to add was a custom Taxonomy to be displayed for each item, as well as filtering by a custom field value. So the first problem was getting the custom taxonomy to relate to the custom...