Paging doesn’t work?

Answered a question that’s virtually identical to this very recently on the WordPress.org forums. Custom Post Type Archive Page – Pagination Isn’t Working I’ve provided a work-around / fix in that thread that should also work for you to. 🙂 EDIT: You also need to add the paging parameter to your query.. Eg. $args = … Read more

A simple script to allow sorting of custom posts in admin?

That script doesn’t allow sorting, just displaying a custom column. Is that the original script or the modified one? Note that register_post_type() and register_taxonomy() shouldn’t be called directly, but in a callback hooked to the ‘init’ action. Working version: function my_init() { register_post_type( ‘frog’, array( ‘labels’ => array( ‘name’ => ‘Frog’, ‘singular_name’ => ‘Frog’, ‘add_new’ … Read more

Show a Category X’s custom post type on Category X archive page?

I’d suggest adding something like this to the top of the theme file or wherever you want this content to appear in the archive, category or whatever.. // Check if it’s a category or taxonomy archive if( is_category() || is_tax() ) { // Grab the queried data, slug, tax, etc.. $queried = $wp_query->get_queried_object(); // Check … Read more