WordPress Hacks


29
Jan 11

Custom Post Type Pagination

The problem

I was just messing around with a custom post type loop,  and noticed that pagination wasn’t showing up at all. Neither posts_nav_link() nor the WP-PageNavi plugin was working and showing up navigation links. Continue reading →


9
Jan 10

How to get the Meta ID by Meta Key

The problem

Well, I guess it’s not too often that you need to get the ID of a particular meta entry from the postmeta table in WordPress. However, Matthew on the wp-hackers mailing list needed exactly that. Continue reading →


6
Jan 10

Display Custom User Fields on Edit Users Screen

The problem

Anyone who would like to add a column to the edit users screen in the admin panel, listing a custom field like the age or membership status of a user, take a look. Continue reading →


13
Nov 09

Get ID of parent category

The problem

Sometimes you need to get the ID of the parent category when you’re browsing a child category page. Don’t you? 🙂 Continue reading →


8
Nov 09

Check if bookmarks exist on your blog

The problem

Wished you could check if any bookmarks exist on your blog? Continue reading →


1
Nov 09

Auto-Tag 800+ posts with “Auto Tags” – automatically

The problem

How to auto-tag your posts with the plugin “Auto Tags” after they’ve been published already without manually edit and save each post to get them auto-tagged? Additionally, you don’t have SSH access to your server and the PHP max_execution_time is limited to 30 or 60 seconds so a script’s runtime would exceed and result in a blank page or fatal error? Continue reading →