In a site I’m developing, I have the following category structure: * movies (parent) * thriller (child) * comedy (child) * drama (child) The current post is in the...
How do I get only the first term of a custom post type. I can get all – no problem. This what I am using to grab all of...
This is a repost of an earlier question I had, but I like to go into more details now to be able to fully solve this. So again, with...
I’m working on a restaurant site, and I have a custom post type for dishes, like so: $args = array( 'labels'=> $labels, 'public'=> true, 'publicly_queryable'=>true, 'show_ui'=>true, 'show_in_nav_menus'=>true, 'query_var'=>'dish', 'rewrite'=>true,...
Seriously, why 'with_front' => false does not work as it should be? It is supposed to remove TAXONOMY BASE NAME and my question is why it does not work?...
Is there an easy way to query for any posts that is tagged with any term from a particular taxonomy? I know this technique: $custom_taxonomy_query = new WP_Query( array(...
I have registered a custom tax to my CPT. On the edit screen the tax meta box appears with an autocomplete field. Is it possible to display it as...
I have the following code to add a new column to my taxonomy edit screen (edit-tags.php?taxonomy=book_place&post_type=books) function add_book_place_columns( $columns ) { $columns['foo'] = 'Foo'; return $columns; } add_filter( 'manage_edit-book_place_columns',...
Ok, so i have a Custom Post Type called “Services”. This custom post type has a taxonomy called “Areas” and there’s 5 terms in that taxonomy. Let’s say I...
I have an interesting problem which I hope someone can quickly answer. I have created my own metabox which, based on “MY METABOX CODE” (list below) is correctly displaying...