Custom Post Type

You can use wp_get_post_terms() to pull the terms. $taxonomy = ‘project-category’; $terms = wp_get_post_terms( $post->ID, $taxonomy); var_dump($terms); wp_get_post_terms() will return an array of terms because multiple terms may be assigned to a single post. This means that you will potentially get a set of terms, not just one, so you will need to choose which … Read more

Archive of post format for Custom Post Type

There are no rewrite rules generated for post formats specific to post type. If you want pretty URLs for post type specific post formats, you need to add them yourself. // post_type doesn’t seem to work, // add rules to set custom query var function resource_post_formats_urls() { add_rewrite_rule( ‘resource/type/([^/]+)/?’, ‘index.php?post_format=$matches[1]&resource_only=1’, ‘top’ ); // pagination add_rewrite_rule( … Read more

Ordering Posts List By Taxonomy Terms?

WordPress core (as expressed by involved people on multiple occasions) strongly discourages sort by terms. It sees terms as exclusively grouping mechanism, with no ordering capabilities implied. So in your specific case WP would understand that there are different directors, that there are groups of shows done by those directors, but won’t at all understand … Read more

How do I make my archive page look like popular reviewing sites (e.g., Polygon and Gamespot) [closed]

Seems to me the desire to use that page-builder plugin has resulted in a solution far more complicated, laborious, and convoluted than whatever you’re calling the “long and manual way” 😛 . WordPress itself answers your question. WordPress Philosophy Pages are for static, timeless, and potentially hierarchical content. Plugins abuse that notion sometimes, but never … Read more