The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
17 views

Registering and assigning Custom Taxonomy directly through SQL

I'm running a PHP script that pulls property listing data from a RETS server and inserts the listing date into the WordPress database directly with SQL queries. I'm not using any WordPress functions ...
0
votes
0answers
28 views

Taxonomy rewrite problem [duplicate]

I created new custom post type called "projekt" and taxonomy "kategorie" with rewrite "realizacje". What I need is create that structure: /realizacje/ - archive for all /realizacje/taxonomy/ - ...
0
votes
2answers
44 views

How can I fix those issues generated by the Themecheck plugin

I've got the following error messages on the themecheck plugin in my WordPress theme. REQUIRED: The theme uses the register_taxonomy() function, which is plugin-territory functionality. ...
0
votes
1answer
14 views

Templates files for custom post type with custom tags

There is a task: Create a new post type (video) with its own post tags and tag page - separate from normal post. What I've done: // Create a new post type register_post_type('video', ...
0
votes
1answer
38 views

Insert terms for custom taxonomy on plugin activation, or each page load (init hook)

Consider a plugin which adds a custom Taxonomy and then fills the taxonomy with a large term hierarchy (tens of hierarchical terms, may become hundreds in specific installations). I understand that ...
0
votes
1answer
48 views

update_count_callback argument in register_taxonomy function not working

I registered a custom taxonomy for ATTACHMENTS. Everything is fine on the admin side : I can tag medias with my custom taxonomy's categories, they show up with my images, etc. I then build a template ...
0
votes
1answer
36 views

Separating a custom taxonomy from blog post-type

Whenever I invoke register_taxonomy in my site's custom plugin, all taxonomies are created as children of the blog post-type in WordPress by default. I just want them to be top-level items in ...
1
vote
1answer
78 views

Use register_taxonomy() in register_activation_hook()

I would like to use register_taxonomy() to define a hierarchy of geographical terms. It seems that the natural place to place it would be in a function called by register_activation_hook() seeing how ...
1
vote
0answers
61 views

Combine multiple custom user taxonomy in single url

I have created custom user taxonomy for user and its working good. Reference guide:- http://justintadlock.com/archives/2011/10/20/custom-user-taxonomies-in-wordpress Bellow is structure of taxonomy ...
0
votes
0answers
38 views

Sort Taxonomy List by Custom Values

I'm trying to make the order of taxonomies adjustable. I've already got the drag & drop working and can put those values to the database. I just don't know how to sort the taxonomy list by other ...
0
votes
0answers
115 views

add_action priority and taxonomy used in plugin

I try to register my taxonomy in my plugin and use it after. So far I have done: function custom_taxonomy() { $labels = array( ... ); $args = array( ... ); ...
1
vote
1answer
137 views

previous_post_link/next_post_link disappear when excluding by post_format

I am trying to exclude aside post formats from my next and previous links, but for some reason, using get_term_by is not returning me the term_id for the post_format taxonomy. I see this taxonomy ...
1
vote
1answer
349 views

What does query_var do in register_taxonomy

What happens if in register_taxonomy( $taxonomy, $object_type, $args ) I set query_var arguement to true? I read here this query_var (boolean or string) (optional) False to disable the ...
0
votes
1answer
190 views

Proper way to update the slug of a taxonomy using register_taxonomy? [duplicate]

What is the best way to update the slug of a custom taxonomy that is registered by a plugin? I want to know the minimal amount of parameters for this or if i need to go and copy paste all of the ...
0
votes
1answer
268 views

Change existing taxonomy settings when using custom taxonomy

For a plugin I have created a new custom taxonomy for attachments using the function register_taxonomy() and parameters like "show_admin_column". When this parameter is set to true, it shows the ...
0
votes
1answer
989 views

get_terms from registered taxonomies not working

In functions.php I can var_dump() taxonomies like: $taxonomies=get_taxonomies('','names'); echo '<pre>'; var_dump($taxonomies); which give me: array(7) { ["category"]=> string(8) ...
3
votes
1answer
2k views

How to modify a taxonomy that's already registered

Today I needed to change the arguments on a custom taxonomy that was already registered by a third party plugin. Specifically I wanted to set the show_admin_column argument to true and change the ...
2
votes
1answer
62 views

Post taxonomy from exif data

Whenever I post a post with a featured image, I want to extract the exif data from that image and attach it as a term for a taxonomy. I already got a plugin which can extract the relevant info, but I ...
0
votes
2answers
492 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
2answers
522 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
983 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
456 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
66 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
43 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
173 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 ...
8
votes
2answers
4k 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
632 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
1k 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
1k 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
2k 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
379 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
442 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 ...