Custom Post Type Order Index Loop

You’re only referencing the event date in your query, which is why you’re not getting normal posts (because I assume they don’t have an event date). You can use “orderby” with multiple values (separated by a space), so you should be able to change it to: ‘orderby’ => ‘meta_value date’ That should mean that the … Read more

wp_list_categories() with attachment post types

When you register your taxonomy, set the update_count_callback argument to _update_generic_term_count. This will count all objects associated to taxonomy terms so you don’t need to use hide_empty. $args = array( // your other taxonomy arguments here ‘update_count_callback’ => ‘_update_generic_term_count’ ); register_taxonomy( ‘your-taxonomy’, array( ‘attachment’ ), $args );

Custom post type page for authors

Anything can be done with URLs in WordPress… unfortunately not too easily a lot of the time. 🙂 It will probably be overkill to construct completely custom rewrite rules for that. Since you only have one extra variable/variation to the template it seems like handling it via endpoint (see add_rewrite_endpoint()) might be sufficient.