The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
535 views

create drop down menu in theme customizer from custom db

what i am trying to do is create drop down menu in theme customizer from custom db i have created. db name "students". in the db i have only the id and the name. i want to show all students names in ...
0
votes
0answers
93 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
0answers
176 views

Custom Taxonomy drop downs for parents and child

I have taxonomies like Cities and they have child sub taxonomies. I have a code that display as metabox on post publish page. But I want to display on front page as search filter. How can I do that? ...
0
votes
0answers
21 views

Problem with drop down with custom categories

I am having an issue with using a custom category. The category is called counties and includes the following entries: Warwickshire, West Lothian, Westmorland, Wiltshire, Worcestershire and ...
0
votes
0answers
21 views

Fetching posts that match a User Profile setting

I have a Custom Field in my User Profile page that allows site authors to specify which town they come from when they set up their account. The towns are in the form of a selectable dropdown select ...
0
votes
0answers
391 views

Adding CSS Classes to Sub items in Menus is not working

Ok, so this is the code I have to my Mega Menu that works with Bootstrap framework for Wordpress. For some reason, when I enter a class name in the backend of Wordpress > Menus > Sub item > CSS ...
0
votes
1answer
235 views

Using 'jQuery menu aim' for WordPress (Genesis) drop down menu

For this site I want to build a better drop down menu – under 'Data' on the top left – to access the site's content. The website is built using the Genesis theme. I would like to use Ben Kamens ...
0
votes
1answer
90 views

Dropdown list of available posts for post editing

I have posts of two different categories that I can't easily relate. categories are: instructors and class categories (like aerobic, weights etc.) I would like to tie instructors to class posts NOT ...
0
votes
0answers
46 views

Taxonomy for costum post type not found

I'm trying to use taxonomies to create categories for my costum post type. I registered the necesary components: add_action( 'init', 'create_post_type' ); function create_post_type() { ...
0
votes
1answer
83 views

HTML-to-WordPress: Dropdown Navigation Menu [closed]

so I've been searching around in the hope somebody also had this issue.. But I can't find any. I've currently created a Wordpress template out of a hardcoded HTML template for somebody. Now here's ...
0
votes
0answers
2k views

Displaying list of cities according to the selected state. Using the WordPress hook

I come to ask the community a help of a simple hook on WordPress. I'm trying to display a list of states and cities in two dropdows to select a single option in the a form. The list of cities will be ...
0
votes
0answers
247 views

Merge multiple menus into single dropdown menu

I have multiple menus in my blog. I have Top Menu and Header menu. These menus appear separately in the desktop version of my website. However, I would like to merge both these menus into a single ...
1
vote
1answer
6k views

Customize the Sorting Dropdown in WooCommerce

It would be great if there was a way to change the default sort by dropdown in WooCommerce on the shop page. Right now the sorting drop down looks like this: http://cld.wthms.co/OBgj And I would ...
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 ...
0
votes
0answers
575 views

Foundation 5 Dropdown Top Bar not working in WordPress

I made a 'first version' of a site with help of foundation 5. Now I'm trying to convert it to a WordPress (3.8) template. Most problems have been easily solved, but I can't get the Top Bar to work. ...
0
votes
1answer
541 views

wp_dropdown_pages auto submit

What I have below currently works fine except for one issue: When a select item is chosen, it will correctly go to the subpage - however, if on a sub-page of the main site already, and a item is ...
1
vote
0answers
585 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
2answers
542 views

Dropdown Menu for Query_Posts

I can successfully query post results using query posts like so... <?php // The Query query_posts("gdsr_sort=rating"); // The Loop while ( have_posts() ) : the_post(); ?> <?php ...
0
votes
2answers
497 views

Page Template Dropdown For Custom Post Types

I am using the following code to create a dropdown on the edit post screen which will allow users to choose page templates for the post type. The code is working but when I try using it multiple times ...
0
votes
1answer
744 views

Add a “default sorting” menu to child store pages

I'm new to WordPress WooCommerce and I can't figure out how to add a "default sorting" drop-down filter to my category shop pages. I know it's on the plain old "SHOP" page, but my navigation doesn't ...
1
vote
1answer
121 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 ...
0
votes
0answers
834 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
2answers
3k views

styling wp_nav_menu - horizontal, sub-menu drop downs

live site. I'm using wp_nav_menu called "blog-nav". It's displaying ok, however I'd like to have it horizontally oriented and with sub-menu drop downs(all lower cased items should be in the drop down ...
0
votes
0answers
90 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 ...
3
votes
2answers
11k views

How to create a drop down menu like in twenty eleven theme?

I really like the drop down menu solution of twenty eleven theme: http://twentyelevendemo.wordpress.com/ and would like to create a similar one but I cannot figure how it works, or is it based on ...
0
votes
1answer
206 views

How to output the content of a Custom Post Type from a drop down form?

I have a Custom Post Type called office and I output a list of names of these Offices using a dropdown menu from a thread here on WPSE: Dropdown list of a custom post type. What I would like to do ...
2
votes
2answers
558 views

Search results sorted by post types

I am working on a site with several post types - 4 to be exact - and I am trying to setup the search results page to have a filter/sort the results by post types. For example, when a person searches ...
2
votes
2answers
395 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 ...
0
votes
0answers
705 views

Woocommerce Sorting does not sort the results after page reload

I have code in index.php that shows the Woocommerce products and also provides the dropdown for sorting. Regardless of the option that I choose from the dropdown, the page reloads and yet, it shows ...
0
votes
1answer
331 views

wp_dropdown_categories - remove &nbsp;

I need to remove the auto adding of &nbsp; in the wp_dropdown_categories, it causes a problem in the jQuery multi select dropdown plugin I'm using. Example value: <option class="level-1" ...
1
vote
1answer
825 views

Filter Select results based on selection

I am trying to filter which job results are rendered to the page whenever the user changes the select item on my form. The select items are dynamically populated by the code below which assigns them a ...
0
votes
1answer
122 views

Custom Query for searching through custom fields

Just wondered if someone could spare 5 mins to help me understand where I might be going wrong. I have a set of custom fields for jobs - I would like to create two drop down menus as a quick search: ...
0
votes
2answers
167 views

Wp Dropdown Category Not Show Current As Title

Im using wp_dropdown_categories for a page. Issue im having is i dont want it to show the current category that the page is on as the title, i want it always to display the "Select A Category" text i ...
0
votes
3answers
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. ...
3
votes
1answer
5k 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 ...
1
vote
1answer
2k views

Custom widget using get_categories select menu dropdown

I have created a custom widget that is supposed to display a select menu with all the categories the blog has. I have used get_categories to compile the list. This works fine and all categories appear ...
2
votes
1answer
810 views

Help with multiple dropdown tags search

I'm trying to build a search form that allows the user to choose certain post tags and filter through real estate listings. So far I have the form built but when I click the search button it brings me ...
0
votes
0answers
89 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
1k views

Save selected item from dropdown menu in a meta box as a metadata value for a custom post type

I have been beating my brains on this one for days now and my Google-fu is failing me. I have created a custom meta box with a dropdown menu that lists all of the terms from a custom taxonomy. What I ...
0
votes
1answer
279 views

Widget Development - Displaying dropdown content

I'm using the following code to create a widget to select a post from a dropdown - which works fine in the backend, but I can't figure out how to display this on the frontend... <?php class ...
-2
votes
1answer
62 views

How to solve dropdown menu problem [closed]

Please look and help me how to solve this I want look like: Here But my code show: On Chrome On mozilla Website link Here
0
votes
1answer
104 views

Link to subpages on the same page

I'm using a dropdown menu on my Wordpress page which shows all the pages. If you hover over it, the subpages of that particular page are shown. Say I have five pages that each have a couple of ...
0
votes
1answer
278 views

wp_dropdown_categories initial value

I am currently pulling in an option drop-down of a specific category using: <?php wp_dropdown_categories('child_of=20'); ?> I would like the initial value of the drop-down to say 'Bedrooms' ...
-1
votes
1answer
1k views

Output dropdown results into Woocommerce Order details

How do I correctly get the data from a drop down (select) output into the Woocommerce Order Details section of the admin? When I do this, I get an output for all my text box questions, but nothing ...
0
votes
1answer
175 views

Drop down list with posts within the “add new” page

Quick explanation : When I add a new "Company" (custom post type), I have a drop down menu listing all the companies to choose if the one i'm creating depends from another one. I got 3 metaboxes, the ...
0
votes
1answer
666 views

Separate categories parents, childs and grandchilds in dropdowns

I'm new to wordpress and PHP Im trying to build a site that the user can select a destination so I did this by creating categories (country) subcategories (state) sub sub category (city) and I want to ...
0
votes
1answer
125 views

go to home page when i select default in select-box

I'm new for WordPress. I'm using following code, <div id="cat_list"> <?php wp_dropdown_categories(array('show_option_all' => 'Categories') ); ?> </div> And my JavaScript ...
15
votes
2answers
21k 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' => ...
0
votes
1answer
284 views

Custom fields: dropdown values depending on other custom field value

i have custom fields like this: "country" - values: "USA", "Russia", "China" "city" - values: "Chicago", "Moscow", "Beijing" I want when user in custom field "country" choose value "USA" after ...
0
votes
1answer
743 views

How to develop a menu like wwe.com?

I would like to design and develop a WordPress menu like wwe.com's menu where it has multiple columns, images and a video section in drop down menus. I can create a multi-column menu, but I'm not ...