Since WordPress 2.3, plugin and theme authors have had the ability to create custom taxonomies-- essentially specialized "categories"-- to help organize information.

learn more… | top users | synonyms

0
votes
0answers
13 views

Calling Custom Taxonomy Dropdown in Form

I'm writing a plugin to allow users to submit fragments of lyrics to my site. I have the plugin working minus one aspect. When entering the lyrics I would like users to be able to select the artist ...
0
votes
0answers
10 views

Maintain custom post types and taxonomies in all themes [duplicate]

When I change the theme in dashboard, activated plugins that use custom post types, stay in the menu. But my own custom post types that I created myself disappear. Logically, It is because I create ...
0
votes
1answer
19 views

Control content before and after custom post type loop

I am trying to create a left nav menu that contains a couple of different taxonomy lists of a custom post type. For example, the left menu might look like this... <h2>New Stuff</h2> ...
0
votes
0answers
10 views

Problem retrieving informations and displaying desired structure with custom post type and taxonomy

I have to create a website with a part concerning houses, grouped by type. I thought of using custom post type "house" and custom taxonomy "house_type". function custom_post_house() { $labels = ...
0
votes
1answer
16 views

How to Put Custom Taxanomy Meta Box in Main Column

WordPress added the Custom Taxonomy Meta box at sidebar, Is there any way which we can relocate it in the main column , Under Edit box? Thansk
0
votes
1answer
20 views

create taxonomy

I am new to word press, I want to display results on a page which belong to some group from database(I have group column). I think this can be done by taxonomy so I have taxonomy table but I don't ...
1
vote
0answers
11 views

Move terms from one taxonomy to another keeping the hierarchy

I am creating a custom taxonomy for the first time. I am trying to add a Location taxonomy. What I am actually trying to do is use existing categories to make them into locations. I went into the ...
0
votes
1answer
17 views

How to set hierarchical terms to a post using wp_set_object_terms

I have a hierarchical custom taxonomy called "locations". The parent categories are country names, the child categories are the territories under the country. How can i attach these terms to a post ...
0
votes
2answers
49 views

Display next 3 posts based on custom taxonomy

I am wondering if anyone could help me accomplish something like this: https://medium.com/thoughts-and-words/5ccef7b3e1fc with custom post types? I have a custom post type called projects and ...
0
votes
0answers
10 views

set categories based on custom field

i have a xml feed coming into my wordpress site and what i need to do is create a function that automatically assigns categories based on the valus of 2 custom fields so i have salaryband (name of ...
0
votes
0answers
7 views

How to call wp_insert_term() with parent and prevent duplicate terms?

I'm working on programmatically adding some terms to a custom taxonomy and I'm using wp_insert_term to do it. The code: $year =absint($_POST['year']; $month = sanitize_text_field( $_POST['month']; ...
0
votes
1answer
30 views

Post type archive page not working

I registered a custom post type using Custom Post Type UI, and created an archive page and named it archive-recipe.php, 'recipe' is my custom post type name. But its not working, instead its using the ...
0
votes
1answer
15 views

How to get next previous category in same taxonomy?

Like WP get_adjacent_post function gives the next and previous post data based on the parameters i want to get the next/previous category data is there any WP built in function which does the right ...
1
vote
1answer
18 views

wp_insert_post not updating custom taxonomy selected if logged in as a subscriber

Here is my Code, it works fine When i try to post data from front end if Logged in as admin, but if i logged in as a subscriber code works fine but it is not inserting the taxonomy term i select, here ...
1
vote
1answer
48 views

Plugin fatal error

I'm trying to activate a plugin I made on a network site. I'm getting an error: Plugin could not be activated because it triggered a fatal error. I have the debug mode on and it outputs all errors ...
0
votes
0answers
14 views

Taxonomy page to display top level category as field

i thought I had my issue fixed but I found out that it isn't. I have code in the sidebar of my archive template that only displays the parent taxonomy terms as links to take you to the taxonomy ...
0
votes
1answer
21 views

get_term_link not working

I am trying to use the below code snippet to display an image and then wrap it in a link to a specific term archive page. In this case, I have a custom taxonomy (Series) with a few different terms. ...
-1
votes
0answers
30 views

Custom permalink to custom taxonomy post

my question is simple. normally post permalinks are [the_permalink, or any page link]. here i have to set different permalinks as their post category. example: post categories[food,drinks,books] here ...
0
votes
1answer
23 views

Looping taxonomy in taxonomy?

So I have a CPT of references (like a dictionary kind of format for music). In it there are two taxonomies: medium_reference and reference_letter. The reference_letter lists letters A-Z, while ...
0
votes
1answer
31 views

List the categories under custom taxonomy

I have a problem here, I registered a custom post type and I named it 'recipe' then I created a custom taxonomy under the post type, I named it 'recipe category'. Now I want to display the of ...
0
votes
0answers
16 views

How to display posts from a custom post type grouped by custom taxonomy

I am trying to create a table that lists a custom post type (equipment), grouped by custom taxonomy. The table should look like this (this example uses two equipment taxonomies, footballs and cricket ...
0
votes
0answers
42 views

Creating Advanced Search with text & Dropdowns

I am working to develop an advanced search option. Where there will be fields: Text input Field (Post Title) Dropdown (it will be a taxonomy) Dropdown (it will be a taxonomy) Basically I need ...
0
votes
0answers
17 views

Displaying hierarchical taxonomy terms on taxonomy template

Sorry if this is a little long but it is somewhat complex. I thought I was going down the right path. Here it is. I have created a custom post type and a custom taxonomy for it named location. In this ...
0
votes
0answers
51 views

Dynamic Subcategories in dropdown list

How do I Create Dropdown list of subcategories? Example: Category1 -Subacategory1(dropdown list) --SubcategoryA --SubcategoryB --SubcategoryC -Subacategory2 -Subacategory3 my code ...
0
votes
1answer
35 views

Custom Post Types Archives and Single Pages not showing custom taxonomy data

I have a custom post type called "Newsitems" that I have registered two custom taxonomies for: "newsitem types" and "news item tags" I want these two taxonomies' terms to appear almost like the ...
0
votes
0answers
11 views

Custom taxonomy not working after capability change

I have a custom taxonomy, that worked fine. Until I did the following: Added new role Assigned a new capability for the taxonomy Created new post type, and assigned the taxonomy to it (The cpt name ...
0
votes
0answers
81 views

All cats and posts from a custom taxonomy

i'm not new to wordpress templating nor a master. So i've had a problem when i wanted to make a custom list showing all categories and posts under them with a custom taxonomy and post type, like: ...
0
votes
0answers
18 views

Remove slug from edit-tags.php?taxonomy= page

I want to remove or hide the slug field when a user is on the admin page edit-tags.php?taxonomy=mytaxonomy Anyone point me in the right direction?
0
votes
0answers
11 views

how link multiple custom taxonomy posts to specified page

$myquery['tax_query'] = array( 'relation' => 'OR', array( 'taxonomy' => 'brands', 'terms' => array('ALL'), 'field' => 'slug', ), array( 'taxonomy' => 'media', ...
0
votes
1answer
41 views

WP_Query order custom post type with certain meta key value by post modified date

I have this query to show custom post type "property", and it works really well but the "orderby" statement, that is completely ignored... $args = array( 'post_type' => CUSTOM_POST_TYPE1, ...
0
votes
0answers
30 views

Custom Post category permalink not saving?

I wonder if something could help as I'm hitting a brick wall here. I bought a theme called proreview which uses custom posts. This is named reviews with the category named as review-cat as default. ...
1
vote
1answer
30 views

Include custom post type in “all posts”

(Working of off an existing team that the client already purchase.) I have a WordPress install with a couple of custom post types: portfolio testimonials I've set the taxonomy to hierarchical' ...
0
votes
3answers
48 views

Pull Tags But Not as Links

I'm trying to take a list of tags and list them on the page but without linking to their archive page. At the moment I'm doing this: <?php global $wp_query; $postid = $wp_query->post->ID; ...
0
votes
1answer
37 views

Missing categories for Custom Taxonomy and Custom Posts

I'm having trouble seeing why categories are not appearing for Knowledge Base and Articles. What's wrong with this code? <?php // Custom post types /* faq */ add_action( 'init', 'faq_post_type' ...
0
votes
1answer
27 views

Custom taxonomy auto suggest not working in wordpress admin

I've added to my theme a new custom taxonomy in order to add future filtering capabilities to a custom post type called 'product' (I use the wooCommerce plugin which defines this custom post type). ...
1
vote
1answer
87 views

Combine two taxonomies in a hierarchical tree

For example, I have WooCommerce products that have taxonomies: brand (e.g. Converse, adidas, D&G) (taxonomy id: product_brand) category (e.g. Boots, Sneakers, Sandals, Heels) (taxonomy id: ...
2
votes
1answer
45 views

How can I add programmatically custom taxonomy terms to a custom type post when saving posts?

Scenario: there is a 'Recommended Books' section on the website which uses the 'book' custom post type and the 'author' custom taxonomy. I'm using Amazon Product Advertising API for retrieving book ...
0
votes
0answers
33 views

Display a custom post type list by taxonomy term

I need to show a list of custom post type classified by terms. The idea is something like this: Service list: <ul> <li> <a href="#">Webdesign (taxonomy term)</a> ...
0
votes
1answer
230 views

Transfer taxonomy to custom field

I have a blog with movie critics and I'm using many taxonomies to add some informations about the movies, like director, actors or it's year. Using taxonomies is really useful to display all movies ...
0
votes
1answer
32 views

add_query_arg to look up page title

I'm trying to get the code below to look up the status name, i.e. new, open, pending or resolved with the word ticket together to find pages called new tickets, open tickets etc. $ticket_status = ...
0
votes
1answer
52 views

How to setup a single post page for my custom post type?

This my Custom Post Type Code /* Job Opening */ add_action( 'init', 'create_job_opening' ); function create_job_opening() { register_post_type( 'job_opening', array( 'labels' ...
0
votes
1answer
33 views

Changing taxonomy term by slug (wp_update_term)

What I am trying to accomplish is to update a taxonomy term name using its slug rather than the $term_id Wordpress does this by: <?php wp_update_term( $term_id, $taxonomy, $args ) ?> Is it ...
0
votes
1answer
33 views

Hook to change Custom Tag Taxonomy Links?

I have a Custom Post Type named News that has a URL structure like this... domain.com/news/news-post-name I have also added a Custom Tag Taxonomy for my News Post Type. Here is my Re-write settings ...
0
votes
1answer
29 views

Dynamically tax_query

I have this for example: $myquery['tax_query'] = array( 'relation' => 'OR', array( 'taxonomy' => 'cities', 'terms' => 'boston', 'field' => 'slug', ...
0
votes
1answer
16 views

Query with no terms uses index.php template instead of archive.php

I'm using the Query Multiple Taxonomies plugin to get a page of search results (all of which are a custom post type - car). If any search terms are added, so the url looks like this: ...
0
votes
1answer
26 views

Disable custom taxonomy on admin bar

I created a custom taxonomy and i want to disable the taxonomy to show on the admin bar below my custom post type. How do i disable it?. The reason i want to disable is because the user is not ...
0
votes
0answers
25 views

AJAX post method for searching posts error

The following errors occur when you try to load an URL with [] in it (as far as I know). I don't know why I am getting this errors, how can I correct the code below? Errors: Warning: strpos() ...
0
votes
1answer
43 views

Assign a custom post to a custom taxonomy based on custom field value

This answer does exactly what I needed to do, but the only thing is I need it to select more than just one category. So I have changed the code to work based on salary so salary gets entered into a ...
0
votes
0answers
28 views

Pagination not working on page

Edit : Toscho said this was a duplicated question and gave me a link Pagination not working with custom loop I checked it out and followed the steps but this is not working for me. Right now. when i ...
0
votes
0answers
16 views

Advanced search: roles and multiple taxonomies

I have a site with custom roles, and custom taxonomies. I'm making the advanced search, where custom posts can be filtered by roles and taxonomies. To accomplish this, I'm using my own custom SQL ...

1 2 3 4 5 25