0
votes
0answers
39 views

Sort taxonomies in select dropdown with topmost parents as optgroups

I have an array of objects with custom taxonomy terms. This taxonomy represents a list of countries/states/cities which are being used by a certain post type and other parameters (I'm not using a ...
0
votes
1answer
426 views

Conditional two level dropdown filter for custom post type

I have set up a custom post type and taxonomy. The post type is called Local Services and the hierarchical taxonomy is called Regions. The Regions have child categories called Areas. I have set up a ...
0
votes
0answers
36 views

CPT taxonomy as dropdown with checkboxes - how to and URL length

I have a CPT taxonomy with 2 levels of nesting as per screenshot: I would like to display this drop-down list as checkboxes. Something similar to this screenshot: I've got 2 questions: What's ...
1
vote
0answers
328 views

wp_dropdown_categories in custom post type with custom taxonomy

I have a custom post type with its own taxonomy, basically 'show venues' is the post type and venue-regions is the taxonomy. Seeing how a venue cant exsist in mutiple regions, I've removed the ...
0
votes
0answers
565 views

Custom attribute values in drop down menu

I'm trying to modify the WOOCOMMERCE product search widget in a way that it can contain 3 drop down fields. Now these drop down fields need to be populated with custom attribute values that I've added ...
0
votes
0answers
68 views

Custom Taxonomy for an “advanced search”

Ive done some googling around and for what id like to do but i cant seem to find anything along them line that i can look at and learn from. That being said my knowledge of taxonomy isnt great, nor ...
0
votes
0answers
195 views

Turning wp list categories into a dropdown menu

I am creating a custom dropdown for my wp site and I am running into issues. I have a taxonomy set up called 'types', these can be filtered in a nav at the top of the page and they link to the right ...
0
votes
0answers
79 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 ...
1
vote
1answer
301 views

How to determine the depth of a term in a custom taxonomy?

I'm building a <select> dropdown to display a list of terms for a custom hierarchical taxonomy. How do I know the depth of each term? I'd like to add some indentation for child-terms (the more ...
0
votes
1answer
1k views

Create custom taxonomy and Display in metabox dropdown

I'm looking to create a dropdown in the post edit screen which contains 3 already existing tags. What's the easiest way of doing this? Basically all I'm looking for is a simple drop down which adds ...
1
vote
1answer
381 views

Recreating the hierarchy of taxonomies for a dropdown form menu?

I have a form that contains a dropdown menu. This form is on a page form.php and is not part of my theme. It exists outside of my site. This dropdown menu contains my list of values for a custom ...
0
votes
1answer
458 views

How to create drop down for child categories of current taxonomy being viewed?

I need to know how can I get the child/grandchild terms of the current taxonomy being viewed, and put it into a drop down so that I can add values to the options. I am currently using this code to ...
1
vote
1answer
120 views

How to adjust code to refresh a dropdown box with tags that are active on filtered category listing

I have multiple custom tags setup (ptags) and custom posttypes (products) and made it so i can filters posts by multiple tags in a category. Currently the code retrieves tags from posts relating to ...
0
votes
1answer
154 views

Form to post new post with custom taxonomies

I have displayed the custom taxonomies in the drop down as you see in the red box i want to ask that how can i submit them with the post .I can't figure it out.` // Do some minor form validation ...
0
votes
3answers
636 views

Using wp_dropdown_categories in widget options

I have a product search widget when you select certain products a hidden field is shown. I would like to set a custom category in my widget options that is then used for displaying my hidden field. ...
0
votes
3answers
498 views

Search box with field hidden till drop down selection is made

I have a search widget with a drop down populated with my custom taxonomies. I need one of the other input fields to only show when a certain taxonomy or its children are selected. Before you say ...
2
votes
2answers
334 views

Dropdown: Display terms from B only if has relationship with a term A selected

I've googling for a solution for this issue and found nothing: I have some posts from a Custom Post Type (Restaurants) and its taxonomies ('city' and 'cuisine'). Whenever I create a restaurant post, I ...
1
vote
1answer
88 views

How to get a list of taxonomy terms which are being used only within certain post types?

I have a custom taxonomy called 'locations' which is being shared across a bunch of post types. I want to make a select field dropdown list of my locations (terms) to let users go to the taxonomy term ...
1
vote
0answers
149 views

dropdowboxes with pre-selected custom fields optios that filters the results according seach needs

In my site I have one custom post types with custom taxonomies: custom post_type=listings --> Category --> Tags Along with it, I have some custom fields to separate them by country, state, region. ...
1
vote
1answer
898 views

Query posts from a child taxonomy term id

this is my structure.... State1 CT1-1 - Car_Model Post-CT1-1 (the posts of child) - Car_Model Post-CT1-2 CT2-1 - Car_Model Post-CT2-2 CT3-1 - Car_Model Post-CT3-1 State2 CT1-2 ...
0
votes
2answers
654 views

Display a custom taxonomy as a dropdown on the edit posts page

When you create a custom taxonomy, seemingly the only options are to display it as a tag (non-hierarchical) or category (hierarchical). Is there a way to display them as a dropdown menu? I realise ...
0
votes
1answer
283 views

Unable to display the post titles in a drop down

I have post type Dealers and a taxonomy Manufacturer i have a list of manufacturers and relevant posts. Im trying to display the list of manufacturers in a drop down, when a manufacturer is selected ...
2
votes
1answer
791 views

How can I display parent and child taxonomies in separate drop downs?

The requirement is where i have a taxonomy State which is the parent and it has a child sub-taxonomies they are the Cities, Need to display the state as a drop down, when i select the particular state ...
4
votes
1answer
2k views

restrict_manage_posts not working in 3.3.1

I have noticed my custom taxonomy filters no longer work in the 3.3.1 admin as per these methods: Adding a Taxonomy Filter to Admin List for a Custom Post Type? I also discovered that to filter a ...
3
votes
1answer
3k views

Custom Taxonomy as Dropdown in admin

I’ve created a custom post type (called Sponsors) with an additional taxonomy connected to it, called “Type”. Everything is essentially working perfectly but I would very much like to have my ...
0
votes
1answer
1k views

How to create Custom Taxonomy Search Drop Down for specific Post Type

I have a number of custom post types which share a custom taxonomy. I'm trying to implement a dropdown search box using php (to insert into a widget or elsewhere) that allows selection of a taxonomy ...