The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
36 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. In other words, my pages are all for car models. I want to ...
2
votes
0answers
22 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 ...
1
vote
2answers
28 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
24 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
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
37 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
29 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 ...
0
votes
0answers
20 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
117 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 ...
0
votes
0answers
68 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
46 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
1answer
52 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
68 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
69 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
1answer
52 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
116 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
248 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
90 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
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
41 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 ...
1
vote
1answer
159 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
103 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
369 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( '...
0
votes
0answers
31 views

On pages, dropdown menu not displaying

On the main menu for my site, three items have sub items. On the index page, those sub items appear as a dropdown when I hover over the main items, but if I navigate to any other page, the dropdown ...
0
votes
0answers
47 views

Save the value of a wp_dropdown_pages

I have created a wp_dropdown_pages based upon the WordPress codex page global $post; $args = array( 'date_format' => get_option('date_format'), 'depth' => 0, '...
-1
votes
1answer
228 views

PayPal button with drop down menu not working [closed]

I'm trying to add a paypal button to my wordpress site but when I add the code I get an error. I've tried looking up solutions and everything says to remove the extra tags which I don't have in my ...
1
vote
0answers
141 views

How to make custom taxonomy into drop down select in a custom metabox

I have a custom post type that I am creating custom meta boxes for on the "Add New Post" screen. I would like to remove the default meta boxes for a given custom taxonomy and place it in a drop down ...
0
votes
0answers
72 views

Custom drop down meta box not saving

I'm really struggling with my drop-down meta box. I created a custom post type, and am in the midst of creating shortcodes for recent posts, all posts and now featured posts. I created a custo ...
0
votes
1answer
110 views

Drop Down Category Menu Not Working

If you look on my website, at the top menu under Member's Only, the dropdown menu is not showing the three pages that are listed as sub-pages under the menu category. I know that the back end is fine, ...
0
votes
1answer
111 views

Adding archive years to my menu

I'm Wordpress newbie and despite of reading many articles, I'm able to put archive years to my main menu. Menu contains pages and I need to add an archive. My current menu: - Home (page) - About (...
0
votes
0answers
75 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
1answer
79 views

Dropdown Categories used in form shows no results when all is selected

I'm using the wp_dropdown_categories twice in a search form, once for the categories and second for a custom taxonomy. When selecting the 'All" option no results are showing in the results page. The ...
0
votes
0answers
21 views

Reproduce sub-navigation drop down

We have a navigation bar that when you hover over it there is a drop down on 3 out of the 5 menu items; I'm trying to add the other two. I have added what looks like the right code but I can't figure ...
1
vote
1answer
46 views

How WordPress manages nested dropdown?

I made a hierarchical CPT, so it involves various depths. I need to make a dropdown, and I found wp_dropdown_pages(). But for some reasons, at last I made my own dropdown querying get_pages() and ...
0
votes
1answer
41 views

Get category fixed in dropdown browse categories

I tried to get categories directly from phpmyadmin, but i can't. then i tried to create this php scrip in public_html include "wp-includes/category-template.php"; $args = array( '...
0
votes
0answers
78 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
0answers
110 views

Woocommece Variable Product Dropdown hide other two dropdown [closed]

I am using wordpress woocommerce.Here i have question about variable product for woocommece.Here in woocommerce initially all drop down options load.Now is this possible to load it based on first ...
0
votes
1answer
112 views

Reveal hidden submenus on page load - Twenty Fifteen theme

How can I reveal hidden submenus on the page load in the Twenty Fifteen theme? I would like it so that all the submenus are open on every page. Can someone please guide me on how this can be achieved? ...
0
votes
0answers
58 views

easy digital download , dropdown category

i want to show download category as a dropdown button for each category , and sub category list base on category. i searched , and use my knowledge , result: <?php function my_list_edd_terms() { ...
0
votes
1answer
61 views

JQuery Login Dropdown not functioning in theme

Having a problem on my demo site (http://somm.icorp.net/) what I'm attempting to accomplish is when you click on the LOGIN button a drop down appears and using JQuery, it displays a login box so users ...
0
votes
0answers
18 views

No indication of menu

I imported a menu from my bootstrap to wordpress theme, at time of just static html, it showed and worked fine but when i used the wp_nav_menu, i don't have a 'text' or any indication to dropdown that ...
0
votes
1answer
212 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
2answers
799 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
1answer
240 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
24 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
445 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 $...
1
vote
1answer
280 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
44 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
176 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 ...