Using custom taxonomy when getting posts with WordPress
Using custom taxonomy in custom post types means that you can add categories, or tags to your custom posts. This can be achieved with code like the following – added Read More »
Using custom taxonomy in custom post types means that you can add categories, or tags to your custom posts. This can be achieved with code like the following – added Read More »
Quite often recently when building WordPress themes for smaller sites (ones that have a brochure feel, but have a blog section), the design has included an area on the frontpage, Read More »
I’m using Contact Form 7 on a website I’m building. Currently, Contact Form 7 uses shortcodes, meaning you can drop forms into posts. Something like
|
1 |
[contact-form 1 "Sign up form"] |
You can’t use shortcodes Read More »
A while back I wrote a proof of concept for a site which, at its core, allowed people to pick a location on a map. It used the long/lat for Read More »
Recently, I was working with a WordPress theme that includes a “featured image” (added recently to WordPress). Instead of just displaying it on the frontend, I wanted to know how Read More »
I’m building a site at the moment that uses the Smarty templating engine and I came across a snag today. The global “Smarty” variable includes a nice $Smarty.post reference where Read More »
I’ve recently added comments back into my blog. I know that Askimet will do the majority of the work in protecting me from SPAM, but I wanted to make sure Read More »
I’ve always got quite a lot of comment spam on the blog, and this is mostly for older posts that I assume are already dead and wouldn’t be commented on. Read More »
Since Twitter changed things, you’re probably better off looking at A WordPress Twitter stream, without the RSS… WordPress comes with a version of Magpie RSS as part of Read More »
Custom post types can share tags with normal posts. To do this, add the following line into your custom post declaration.
|
1 |
register_taxonomy_for_object_type('post_tag', 'portfolio'); |
Custom post types can actually also have their Read More »
This problem has come up once before, but I found another way of dealing with the issue. However, this time, it seems that I’m going to need to find a Read More »