We have the following articles on WordPress Development:
Here's how to delete all the terms in a taxonomy, whether it be category, tags or a custom taxonomy. Most sites will never need to do this - and there are probably better ways to do this - but here's the code anyway.Continue Reading »
If you have a category page which has no posts, it will normally trigger your theme's no posts found message. Seems sensible! However, I have an edge case where I don't want that message displayed.Continue Reading »
The Categories widget in WordPress uses the category description as the title attribute for the list items displayed by the widget. While this may be great for very short descriptions, it doesn't make sense when longer descriptions are in use.Continue Reading »
Tonight I read an article on WPTuts+ titled 10 Quick Tips: Optimizing & Speeding Up Your WordPress Site. For the most part it's a good article with lots of great tips, but there is one tip which is just plain incorrect:
Using a constant instead of
get_option('home'); saves a database call.
Have you ever wanted to be able to serve up an alternative version of your posts, perhaps tweaking the layout or even the content of the posts? Not all the time, just in certain circumstances?
I've had two cases recently where I've needed to do this. My solution: to change the post template when a certain URL parameter is added to the URL.Continue Reading »
- Fetch_feed Not Working With URLs Containing & Symbol
- Clearing The Cache When A Widget Is Saved
- Practical Theme Support For WordPress 3.0 Menus
- Custom Page Templates – Calling An External CSS File
- Poll – Which WordPress Theme Framework To Use?
- XAMMPLite Virtual Directory And WordPress Permalinks
- Setting Cookies In WordPress – Trap For Beginners