Tag Archives: wordpress

Tags for custom post types

Custom post types can share tags with normal posts. To do this, add the following line into your custom post declaration. register_taxonomy_for_object_type(‘post_tag’, ‘portfolio’); Custom post types can actually also have Read More »

Accessing WordPress features outside of your WordPress template

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 »

How to get the children of a page (by slug)

Every now and then, I need to display a list of all the child pages of a top level page in WordPress. This might be for a sub menu, or Read More »