by lookhappy | Jan 25, 2019 | News
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...
by lookhappy | Jul 26, 2017 | News, Work
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 =...
by lookhappy | Mar 21, 2017 | News
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...
by lookhappy | Oct 26, 2016 | News
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...
by lookhappy | Mar 18, 2015 | News
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 –...
by lookhappy | Mar 18, 2015 | News
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...