The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
21 views

Use custom category in more than one custom post

I am using a custom category in more that one custom posts. register_taxonomy( 'location', array('holiday','resorts' , array( 'hierarchical' => true, 'labels' => ...
0
votes
2answers
56 views

Register custom taxonomy from a Advenced custom field option page

I have a website with products (shoes), i have some shoes models registered as taxonomy on the function.php file like so: function add_custom_taxonomies() { register_taxonomy('mod-nike', ...
0
votes
1answer
39 views

Possible to register multiple custom taxonomies in one function?

I'm registering 7 custom taxonomies in my functions.php. Since each function uses the same labels and arguments and is attached to the same Custom Post Type, I'm wondering if it's possible to register ...
0
votes
1answer
143 views

Register Taxonomy - What is `query_var`?

The Codex doesn't really explain it very well, what is it used for and how do I use it exactly?
1
vote
2answers
155 views

Register Taxonomy earlier so it can be used in functions.php and admin-ajax.php

This is a follow up to this post, outlining why I can not use the get_terms function while in functions.php (actually calling via ajax/admin_ajax.php). I can grab the terms (custom tax) on any post, ...
5
votes
1answer
55 views

Registering custom taxonomy with unique name, a good practise?

Is it a good practise to register custom taxonomy with a unique name (the $taxonomy parameter), and then use the rewrite argument to set a custom slug? For example, I could create a taxonomy called ...
0
votes
1answer
34 views

Taxonomize taxonomy terms?

I want to register taxonomies that apply to taxonomy terms (in addition to posts). I believe this is possible because posts and terms are both WP objects. What steps are needed to achieve this? ...
0
votes
1answer
88 views

Showing custom post type categories in the menu

here is my custom post type and category: //Register nav register_nav_menus( array( 'main_nav' => 'Main navigation' ) ); //Custom post types add_action( 'init', 'create_post_type' ); function ...
5
votes
2answers
1k views

Can multiple custom post types share a custom taxonomy?

I'm considering rebuilding a drupal site in wordpress and am still wrapping my head around the differences between the systems - particularly cck/fields and custom content types and the different ways ...
0
votes
1answer
495 views

What are these undocumented arguments for register_taxonomy?

The Wordpress codex has an example of the register_taxonomy() function at http://codex.wordpress.org/Taxonomies that shows arguments that are not documented in ...
1
vote
1answer
685 views

is_taxonomy is deprecated. What's the alternative?

Now that is_taxonomy($taxonomy) function deprecated how do I know if a taxonomy exist? What's the alternative? On a second note, the codex for wp_insert_term() says that if the taxonomy does not ...
0
votes
1answer
849 views

register_post_type and register taxonomy and htaccess

I installed a theme called "The Dawn". It supports the addition of new type of post and a taxonomy. Here's the code: register_post_type('portfolio', array( 'description' => 'TheDawn ...
0
votes
2answers
885 views

How to register child taxonomies?

Should I register both parent and child as 'hierarchical' => true, if there's no grandchild? If "Movie" is the top level taxonomy, when I register a child, is it as simply as: 'parent_item' => ...
0
votes
1answer
313 views

Need help with Custom Post Types and Taxonomies

I'm trying to get my head around CPT and Taxonomies. I've created a section on my WP site called Work and so I've got this in my functions.php file: add_action('init', 'work_register'); function ...
1
vote
1answer
345 views

Pagination on Custom Tax Pages Removes Spaces from Query Vars

I've got a weird problem that's very similar to this one: Why does Wordpress Pagination Remove the Spaces from my GET Variable?. Except that mine isn't withn search results pages--it's with custom ...