The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
9 views

How To Remove black space Drop down menu?

i have created Wordpress Site. My site based watch and Knife shopping . after created drop down menu. knife brands single drop down menu. watch drop down mega menu i had used 5 column menu.after ...
0
votes
1answer
4 views

Categories dropdown with all values selected using wp_dropdown_categories

I'm using this code to get a dropdown list of categories, but all options are marked as selected. Therefore, the last option is the one that is displayed as selected by default. <?php ...
0
votes
1answer
22 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 ...
1
vote
0answers
9 views

Drop down multi column menu Width reduce

I have developed wordpress website using Woo commerce plugin and I have created multi column menu drop down menu. My Site Link Url: Site URl In my Site I have watch brands, knife brands and also ...
1
vote
0answers
5 views

Wodpress Drop down menu Width reduce [on hold]

I have developed Wordpress site using Woo commerce plugin and i have created drop menu. this My site take Looks at this My site LInk In my Site Have only watch brands and knife brands some unwanted ...
0
votes
1answer
21 views

metabox select - frontend display

Hi I bought a theme but I need to add some fields to a frontend submission form. I added the metaboxes and they are working but the problem is the select type of metaboxes. I cloned a select form ...
0
votes
0answers
30 views

How do I implement a Jquery drop down plugin with Gravity Forms?

I have a form, Form ID 10 created in Gravity Forms. I am attempting to use this jquery dropdown in place of the regular dropdown, or even the Chosen Jquery included with Gravity Forms. I'm very novice ...
0
votes
0answers
10 views

Display custom field in dropdown menu gravity form

In a pre-populated dropdown menu, instead of having the title of the post, I'd nee to have a custom field value named "date". $choices = array(); foreach ( $posts as $post ) { ...
0
votes
1answer
23 views

WP Dropdown Categories, display subcategories but not grandchildren categories?

So my main goal is to create 3 drop-down category options to run a search. It's for a car website, so I have 3 parents, "Make", "Model", and "Year" At the moment I have the following code <?php ...
0
votes
1answer
28 views

Custom TinyMCE style formats disabled

I've created a TinyMCE style dropdown for the TinyMCE WordPress editor. The formats are appearing as expected on the editor but when the drop down is expanded to choose from a style, they are showing ...
0
votes
0answers
24 views

Search form not working as expected

I've made a search form with dropdowns and when I select an option from each one it does not display any results. I've been trying to change the wordrpess search query but with no luck until now. here ...
0
votes
1answer
31 views

Dropdown switching subcategories portfolio

I have portfolio on my site and i want add dropdown switching subcategories for taxanomy 'potfolio-types' For example: Category A subcategory 1 subcategory 2 etc... when're in ...
0
votes
0answers
22 views

Populate Multiple dropdown

It's a bit complicated here. But I'm in real trouble right now. Let me explain I want 3 dropdowns populate by order. unless the first it will be disabled. product year (product custom taxonomy) x ...
0
votes
0answers
26 views

Fill form from Dropdown

I've a dropdown that have bunch of contacts that I populated from my custom post type and I also have a <textarea></textarea> that I want to fill from my dropdown when an option is ...
1
vote
0answers
101 views

Display parent and child taxonomies in separate drop down select fields

I've used a piece of code from another question here but my second select field did not changed accordingly. Can anyone tell me what's wrong? Below is my code: My php functions: function ...
0
votes
0answers
49 views

Create a Dropdown from Custom Post Type

I want to create a dropdown box that populates from my Contacts custom post type that I created. In my Contacts post I also created a meta box called Phone which stores a phone number. What I want to ...
0
votes
0answers
15 views

Use WP Dropdown menu to pass author ID to URL upon sumbit

How would I use WP Dropdown menu to select an author on the admin side? Upon clicking submit, it should load a specific URL such as /wp-admin/edit.php?post_type=product&author=X, with X being the ...
0
votes
0answers
20 views

Get wp_dropdown_users to set variable in page

I have a page my-bookings.php which is generated by Events Manager Pro Plugin. Is shows all bookings made for the logged in user. Great overview, but the same overview is not available for Admins and ...
1
vote
0answers
28 views

getting the current sub item out of total sub items in a given dropdown (custom walker)

i would like the possibility to append a text(denoted in square brackets) to each sub-item in the menu like so: Parent 1: sub-item [sub item 1 of 5] sub-item [sub item 2 of 5] sub-item [sub item 3 ...
0
votes
0answers
62 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
54 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" ...
1
vote
1answer
29 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
1answer
27 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
2answers
46 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
18 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 ...
0
votes
0answers
78 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
42 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 ...
0
votes
0answers
31 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
3answers
212 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
71 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
1answer
202 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
141 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
1answer
71 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
55 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 ...
0
votes
0answers
311 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
129 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
393 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
184 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
1k 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 ...
1
vote
1answer
559 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
1answer
520 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
0answers
125 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
201 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
135 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
1k 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
42 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 ...
0
votes
2answers
449 views

How to populate a dropdown menu with option selected?

I have this code to populate a custom dropdown menu of my WP categories. Now this is all working fine, but i'd like the current category to be selected in the dropdown. How can i do this? <select ...
0
votes
0answers
309 views

custom field meta-box with dropdown/autocomplete

Is it possible to have a custom metabox with the ability to either: enter a new meta_value in a certain meta_key OR choose from a list of the existing meta_keys, from a dropdown/select-box, ...
0
votes
0answers
186 views

Building a drop down menu for child categories

We have an auto selling WP site with a makes page with logo and a link to view all vehicles in that category. Ideally we would like a drop down menu in their displaying all models (the childs of the ...