Lustration On Kickstarter
I'm currently running a Kickstarter campaign to collect some of my short comics into a book! It's currently 172% funded and I'd love to reach another stretch goal if possible. Have a...
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 linking? Well...
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 = site_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 took me a little while to...
Displaying WordPress childpages with thumbnails
Here's a little bit of code to display Wordpress Childpages in an undordered list including their thumbnail image....
Pagination with a custom wp_query
So I was using a fairly normal WP_query, along the lines of But for some reason pagination was not working, at all. I was trying to use and it was displaying nothing. After a bit of digging around I found out that I needed to tweak my WP_Query...
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 adventure so...
Displaying Custom Posts by Taxonomy Order With Taxonomy Titles
This was another very tricky thing to wrap my head around. So what we want to do is list a custom Taxonomy item, and then below that all the posts that have that taxonomy applied to them. So for example it should look like this: TAXONOMY ITEM 1 - post 1 - post 2...
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...
ACF Relationship Query
So this was a tricky one to wrap my head around, just because the logic makes sense, but is difficult to word. So basically what I wanted to do was create a new Custom Post Type, which would have a selection list of all the published posts for you to be able to select...