The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
483 views

No authors in change author dropdown

I have added a custom post type "Review", and a custom role "Reviewer". The issue is when logged as admin I take review which current author is admin and I want to change author to a Reviewer I have ...
-1
votes
0answers
14 views

Redirect wp_dropdown_pages() to an AJax request?

I want to get the result of wp_dropdown_pages() to fire an ajax request to show an image instead of redirecting the user to the page url. Is this possible? In other words, my pages are all car models....
1
vote
1answer
2k views

Wordpress 3.5 dropdown menu

I'm pretty new with WordPress and I want to create my own dropdown menu without the use of any plugins. I already did some research but there are some things I do not understand. In my header file I ...
2
votes
1answer
1k 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 ...
1
vote
1answer
2k views

Our shortcode dropdown box in Tinymce is not working in WordPress 3.9?

Hi since the new version is about to be released I thought I would download it and see if my theme works still. Everything works great apart from the dropdown box which is now longer showing. Here ...
0
votes
2answers
4k views

Dropdown List Won't Display Selected Option After Submit / Refresh

I created a user form on my index page which allows the site visitor to re-order my post loop order based on either most recent posts or highest rated posts. The form works perfectly, the problem is: ...
1
vote
0answers
64 views

How to create a button on a page with drop down links to external sites?

I am trying to insert a simple black button on a Wordpress page which, when hovered, should present a drop down selection of links to external sites. Sounds simple, but I have not succeeded in ...
0
votes
3answers
863 views

How to remove dropdown from wp_nav_menu

I dont want to have dropdown (select - options) in my wordpress menu, even in mobile or lower width devices. I know I can use css to hide it, but I want to remove it at all. I googled for an hour and ...
2
votes
0answers
21 views

Wordpress Template not affecting the working, keeps defaulting to the index.php template

I thought this would be incredibly simple, but it has not. I have an index.php file that has my default template for my site. I then made a new file called magazine.php for a template file so that I ...
0
votes
2answers
749 views

Bootstrap dropdownl nav pills not working as wordpress drop down menu

I am using Bootstrap nav pills with drop-down items as WordPress menu, the menu without drop-down is looking good but when I add nested ul as drop-down the menu not working as expected.. HTML <...
0
votes
2answers
567 views

Custom menu - different submenu for first menu item

I created a custom menu with dropdowns. (just CSS no JavaScript). I also added a custom CSS class for the first menu item. So far so good. The point were I get stuck is adding a custom dropdown only ...
1
vote
2answers
22 views

How to retain the values from dropdown category lists after wrong form submission?

I can't figure out the the code for - How to retain the values from dropdown category lists after wrong form submission? Any suggesstions, thanx in advance. <select class="selectpicker btn-block" ...
1
vote
1answer
811 views

Add submenu using the bootstrap wp_nav_menu

I have a problem to generate a submenu using wp_nav_menu . How can I change the ClassA submenu generated by the wp_nav_menu for ClassA the Bootstrap ? see my problem: This is my code that ...
0
votes
2answers
3k 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
3answers
2k views

Get id of category from drop down menu

Im trying to get the category ID from wp_dropdown_categories();and then pass the ID into a loop to have it output posts titles from that particular category. I currently have this: <form ...
1
vote
1answer
19 views

Categorizing Page Templates

I'm wondering if it's in any way possible to categorize page templates and display them in the dropdown by category. In other words, having page templates defined as being for parent pages that show ...
0
votes
0answers
71 views

Dropdown menu with Foundation 5

I've had a heck of a time getting Foundation dropdown menus to work. I've got the menu itself together but can't figure out to integrate Foundation's needs for formulating dropdowns to the Walker. ...
0
votes
0answers
11 views

Time blocking for publishing a custom post type

I'm looking for a way to replace the "time" input boxes on the post meta box. When scheduling a post I want to replace the time inputs with a dropdown populated from the database. When someone selects ...
0
votes
0answers
35 views

Change Form Category List to Dropdown

I am using Front-end Post & Media Manager from WP-Eden for my users to allow them to create posts in the frontend. Everything is working fine but not really good. My site have about 100 ...
-2
votes
1answer
26 views

Jquery dropdown menus working locally, but not in Wordpress [duplicate]

So I've followed this tutorial to the T, even downloading source files and implementing locally: http://red-team-design.com/simple-and-effective-dropdown-login-box/ I also saw another poster here ...
2
votes
1answer
2k 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 ...
0
votes
0answers
19 views

How can I create a dual drop down metabox?

I'd like the first dropdown to be for the terms of a taxonomy and the second to be for the posts associated with those terms. So far I have got: /* Hook meta box to just the 'place' post type. */ ...
0
votes
1answer
99 views

Keeping my Sub Menu open when hovering on its list items

I'm building a custom theme from scratch and I'm stuck on this dropdown styling. I am able to have the sub-menu appear when its containing <li> is hovered but when I go to transition my mouse ...
18
votes
3answers
29k views

How to use wp_nav_menu to create a select menu dropdown?

I'm using the following inside the wp_nav_menu function to create a select dropdown menu where each menu item is an option in the select dropdown... 'items_wrap' => '<select>%3$s</select&...
0
votes
0answers
57 views

Post not show after select the category from drop down

I show all my categories in dropdown and want to show all the related post from specific category My code is here <li id="categories"> <h2><?php _e( 'Posts by Category' ); ?>&...
0
votes
3answers
45 views

dropdown with no submit

So I have a dropdown menu that has a list of all pages using a certain template, when the user selects a dropdown item id like them to be re-directed to that page. Here is what I have so far... ...
0
votes
0answers
74 views

Apply Twenty Fifteen Menu Functionality to a Secondary Menu

I'd like to apply the same dynamic, category-to-subcategory dropdown menu that's used in WordPress's Twenty Fifteen theme to a new secondary menu that I've registered in a different WordPress theme (...
0
votes
1answer
46 views

wp_dropdown_pages doesn't allow me to select more than one custom post type

I am creating a "wine database",k to call it somehow.... Basically there is a custom post type called "wines", and then it has attributes as vintage, grape color..... and also, "region" and "producer"....
0
votes
0answers
54 views

Responsive drop down filtering isotope not working wordpress

I'm trying to turn my isotope filtering list into a drop down on smaller screens. I have created the drop down: <div id="filters"> <select> <a href="#" data-...
0
votes
0answers
47 views

Saved option shows in page dropdown after page refresh

I'm adding a submenu page with a simple dropdown of pages as a settings, the code looks like this: <?php add_action('admin_menu', 'mytheme_admin_menus'); if(!function_exists('...
0
votes
0answers
82 views

Contact Form 7 Dropdown menu populated with post titles, pre selected from url

I'm using contact form 7 as my contact page and trying to populate a dropdown select menu with a list of the post titles. In addition to this if a user browsers to the contact page from a href link ...
0
votes
1answer
763 views

Dropdown menu on click change

Im working on a website where I need to create a submenu that shows only the parent pages. When I click on one of the parents it has to show the children from that parent. Here is the menu hierarchy ...
0
votes
1answer
49 views

Add search to 'Parent' dropdown

I created a product catalog from custom post type pages. I used it's hierarchy to make menus and submenus. It looked like a great idea at a time... But now this catalog grew in size and it's very ...
0
votes
3answers
104 views

How to provide value for 'selected' on wp_dropdown_categories() for 'multiple' options

I'm using wp_dropdown_categories() with multiple="multiple" in this way, bypassing WordPress core. Till now (WP 4.4.1) doesn't support multiple on that select field. (Core Ticket) I'm struggling with ...
1
vote
0answers
33 views

Filter custom taxonomy archive posts by 2nd custom taxonomy using select dropdown

I have a CPT called 'online-lots' for displaying items in an auction. The posts are grouped by custom taxonomy called 'sale' (e.g. '07_15 July Sale)', meaning that a whole catalogue of items can be ...
0
votes
1answer
1k views

Adding an onchange event to a custom dropdown menu in Wordpress

I would like to add an onchange event to a dropdown menu I've created via my Wordpress plugin. As this is my first foray into Wordpress development, and the company I work for has a tall order for ...
0
votes
1answer
188 views

Filter By Category Dropdown List With Custom Taxonomies

I have next category dropdown filter that atm supports only two levels "parent -> Child" and I want to get the third "parent -> child -> child". I have two functions: function ...
1
vote
1answer
83 views

I want to loop through Woocommerce Product Catogories and show them in dropdown

I want to loop through Woocommerce Product Catogories and show them in dropdown. I have tried almost every piece of code available on internet but seems that they are not working for me. I'm very new ...
0
votes
1answer
1k views

Display Taxonomy Term Children in a Drop Down without Submit Button

I have a custom Post Type "Portfolio" with Custom Taxonomy "Portfolio Categories" and Terms within that Taxonomy are "Branding", "Print", "Web" and "Multimedia". Each of these have Child Terms. I ...
1
vote
3answers
3k views

Dropdown with category selection

I created a directory website with dropdowns in the menu allowing the user to navigate throughout the categories and sub categories. [Website] I am using wp_dropdown_categories() to display the menus ...
0
votes
0answers
33 views

Load second wp_dropdown_pages based on first selection (children)

I have a wp_dropdown_pages dropdown with some pages. I want a second dropdown_page to load after the visitor selects an option with the subpages of the selected page. I feel like the "child_of" ...
1
vote
1answer
33 views

Faceted search with WP-API data

I have this site - where I have a post type called listings with a number of custom taxonomies and terms. - http://scd.blaze.wpengine.com/ If you choose a region it then shows you listings that are ...
0
votes
2answers
388 views

Second select list values are not saved after clicking update

I have a select list in a metabox which value is saved successfully after clicking "Update" when editing post. Of course, the values are custom taxonomies. But i don't know how to add another select ...
7
votes
2answers
585 views

Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?

Essentially I'm trying to add multiple sub nav menus and I'm pretty close but I just can't seem to find the right tack to solve my problem ... I'm using a variation of a Stu Nichols CSS Menu ... ...
1
vote
1answer
153 views

How to number the options in a wp_dropdown_pages() select?

I'm using wp_dropdown_pages() but would like to number the options returned for the user. So instead of something like... <option value='http://someurl'>item one</option> <option ...
0
votes
1answer
75 views

Add post type titles in customizer dropdown list

I want to add the list of my available contact forms (created in contact forms 7) to a dropdown in the customizer. Here is the code I used: function contact_form_list() { $args = array('...
0
votes
1answer
978 views

Three level taxonomy dropdown frontend

I have a code in my functions.php to display 3-level taxonomy dropdown: $brand_taxonomy = 'county'; $taxonomy_name = 'VietovÄ—s pasirinkimas'; add_action('...
0
votes
1answer
298 views

Filters post in admin with dropdown select, custom post type

I'm trying to filter my post in my admin area with a custom filter dropdown. I use this method to make it: http://wordpress.stackexchange.com/a/45447/84541 Here is my code: add_action( '...