The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
7 views

How to add more drop down menu tab like link, post and product category in my theame drop down menu are limited?

Please help me... I'm going to open an eCommerce site. In my wordpress theme I am unable to add more than 41 drop down menu in my site including sub tab or category
1
vote
1answer
369 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
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 ...
0
votes
3answers
1k 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 ...
0
votes
1answer
376 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 ...
0
votes
1answer
2k 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
1answer
335 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 ...
0
votes
2answers
3k 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
2answers
350 views

How to store the value of a custom field dropdown select for post referencing?

I'm trying to reference posts to each other. Editors should have a custom field select list of certain post's titles to link the current post with other posts. I got quite far, I think. The select ...
0
votes
1answer
22 views

How to convert custom post type based list to a dropdown list?

I have been created a query to list the post from current taxomony, filt by term slug for my book site (as table of content). And it worked very well. But, is there any way to convert it to a dropdown ...
0
votes
0answers
18 views

Getting dropdown value depends on the downdown value of another in Contact form 7 plugin

I have two dropdown fields. Dropdown A and Dropdown B.DropDown A contains 3 Values Select wordpress1 wordpress2 wordpress3 So when I select a value in dropdown A, My Dropdown B would have all the ...
0
votes
0answers
22 views

ajax drop down change second drop down data

i have a custom post type called "item" and it has taxonamies called "item_location", "item_category" now i am trying make two dropdowns in home page. first drop down has data of "item_location" ...
0
votes
1answer
547 views

wp_dropdown_pages doesn't work with post_type argument

I'm trying to display dropdown menu with posts with custom "post_type". In case I insert this code, it shows dropdown menu with all "pages". $arg=array( 'show_option_none' => __( ...
0
votes
1answer
22 views

How to make featured area?

I'm trying to make custom wp theme, but i have one thing that i don't know how to make. I would like to make featured area on my page like this for example: http://prntscr.com/7gespg I made widget ...
0
votes
1answer
682 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'; ...
0
votes
2answers
20 views

Nav menu classes 'has-dropdown' but no 'active'

I have a nav menu with a depth of 2. wp_nav_menu( array( 'theme_location' => 'primary_navigation', 'depth' => 2 ) ); When I am active on a page in the nav menu ...
0
votes
0answers
12 views

cannot keep the selected value even after using selected

I am trying to make a drop down in post_meta in wordpress and when the user selects a template it shows this template. The template selection gets updated in database but not in the dropdown. what am ...
1
vote
1answer
1k 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
0answers
26 views

Change “Select Month” name within Archive dropdown widget

I want to change the Placeholder for the Archive Widget when in dropdown format. As its set to show by month i tried to change to month label. I currently have : function ...
0
votes
0answers
24 views

Adding icons next to categories in wp_nav_menu

Is there a way to add a category icon next to a menu item? I'm using the Category Thumbnails plugin to allow each catagory to have their own icon. However I'm struggling to incorperate this into my ...
5
votes
2answers
435 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 ... ...
0
votes
2answers
1k views

Filter custom post types by custom field using AJAX

I have a few custom post types (books, films etc) created with WP-Types. I then have a custom field called Genre, created with ACF. If a user selects "Books" from the dropdown on the frontpage, he ...
0
votes
2answers
438 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 ...
0
votes
4answers
1k 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 ...
1
vote
1answer
396 views

Additional form options based on category selected not working

I have a conditional statement to show certain images to choose from (radio buttons) based on the category chosen, however when the category is chosen, the radio buttons don't show? What am I doing ...
0
votes
0answers
67 views

Taxonomy for custom post type not found

I'm trying to use taxonomies to create categories for my custom post type. I registered the necessary components: add_action( 'init', 'create_post_type' ); function create_post_type() { ...
0
votes
0answers
25 views

How can I add an “ALL” button to my list of WordPress categories / sub-categories?

I have a blog in which I am calling the WordPress wp_list_categories and all is working OK. My issue is that I am using the parent <li>s to slideToggle the subs, but need to add an "ALL" ...
0
votes
1answer
108 views

How to save multiple options from a dropdown in user profile

I use this code to create the dropdown and then save the dropdown chosen values: <?php // Display Fields add_action( 'show_user_profile', 'add_multiple_choice_dropdown ' ); add_action( ...
0
votes
1answer
97 views

Multiple Dropdown's with Submit Button

I am pulling 2 categories into 2 dropdown lists. When I click submit the URL is showing the filtering but its just loading the homepage. I want the user to be able to select multiple categories and ...
0
votes
3answers
130 views

How to add HTML5 'required' attribute to wp_dropdown_categories() without JavaScripts?

I'm using wp_dropdown_categories() for populating <select> field with custom taxonomy terms. If the code is like below: <?php $args = array( 'show_option_none' => __( 'Select one', ...
0
votes
0answers
24 views

Advanced TinyMCE link with classes configuration

I'm trying to add custom classes to to advanced link options. On the left I've added link_class_list and in the value field: ...
0
votes
4answers
1k 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
1answer
46 views

How to add posts with thumbnails to my dropdown menu?

I want to create the same effect in Listverse menu. I have a dropdown menu, and I want to add a post section with thumbnail, as shown in the image below. How to achieve that? Thanks!
0
votes
0answers
40 views

Dropdown in Navbar, spacing between links

I am having issues with the spacing of the dropdown on the nav bar. I added the menu through WordPress admin panel. When I hover over the dropdown, the words are all crumpled together. I need to space ...
26
votes
2answers
22k views

Any docs for wp_nav_menu's “items_wrap” argument?

I'm using wp_nav_menu and am trying to create custom output for the sub-level drop downs. I came across the "items_wrap" argument but there's really not much information as to what it is, how it ...
0
votes
1answer
317 views

Display posts order by custom post in a dropdown menu

In my WordPress backend I have some custom posts and, in one of them, I want to display in a dropdown field some posts related with but ordered by post type. Iwant to display something like this. ...
0
votes
0answers
217 views

Custom dropdown filter in media grid view

With the new grid mode in the media library the good old WP_List_Table specific restrict_manage_posts filter for adding custom filtering options is not available. All happens through JavaScript. I ...
0
votes
1answer
111 views

Custom Taxonomy Select Menu: Setting default option value?

I'm creating a series of select drop down menus that pull data from various taxonomies. I got this PHP script working for a WooCommerce attribute of color: function get_color_dropdown($taxonomies, ...
0
votes
0answers
234 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
1answer
117 views

Create a drop down list within an active page not nav menu

I am working for a client that has requested a drop down list for some categories within a page, i.e. click on the link and a list drops down to select the page you want to view. Everything I seem to ...
0
votes
1answer
892 views

Filter a second dropdown list when a value is chosen in the first one

I have a table with two dropdown lists. The first one is the brand which is a WordPress custom post type. The second is the flavors which is also a custom post type. Brand is the parent of the ...
0
votes
1answer
178 views

Dropdown filtering extremely slow

I have two dropdowns on my frontpage. The first dropdown selects a custom post type, and the second selects a location. The second dropdown is filtered based on the selection of the first dropdown ...
0
votes
1answer
116 views

Show only first child in dropdown

I have a dropdown showing a custom taxonomy with multiple levels (children). Below is the code for it. Can someone please explain how I can limit the children shown? For instance, at the moment it ...
1
vote
1answer
412 views

How to add country drop down menu to the user profile?

I've added this code snippet to my functions.php function my_new_contactmethods( $contactmethods ) { $contactmethods['country'] = 'country'; return $contactmethods; } ...
-1
votes
2answers
1k views

Dynamically populate Cascading Dropdown from MySQL using JQuery/AJAX [closed]

What I'd like to achieve is managing tables in the front-end of a WordPress page the same way as MS Access does. So, I'd like to show dependent cascading dropdown which are related by foreign key and ...
0
votes
0answers
107 views

how to capture the value of the selected parent category

I am very new to WordPress as well as coding and I am stuck with one of the form field, which has a select box for listing all categories and sub-categories (taxonomies) in it. But I would like a ...
0
votes
1answer
347 views

get_pages Drop down list for selection of a page

I am currently developing a plugin inside the admin page and I need to have a drop down list, listing all the pages. I need to be able to select one page and save the "ID" as an option. I am currently ...
0
votes
1answer
81 views

add custom option to get_categories dropdown

I have a dropdown menu for selecting categories in a widget that I am working on. Everything is working and options are being saved in the database. What I am trying to do now is add a blank option ...
1
vote
1answer
798 views

how to get value of wp_dropdown_categories

I am making a widget and I have used the wp_dropdown_categories() function in that widget. What I can't figure out is how to get the selected value from the dropdown. What variable is the selected ...
0
votes
0answers
35 views

Wordpress conditional dropdowns in custom post edit

I grabbed this question from another post, I couldn't find an answer. Can someone assist. What's the best way to do this. Thanks I have created a custom post type and a taxonomy for it. Here is an ...