You’re probably missing some arguments.
<?php wp_dropdown_categories('show_count=1&hierarchical=1'); ?
>
For more arguments, look here Codex
Related Posts:
- Fatal error: Call to undefined function plugin_dir_path()
- Detect a focus on wp_editor
- Inserting Gravity Form checkbox values into Advanced Custom Fields [closed]
- Dynamic URL to reference custom PHP files
- Creating wordpress user registration form
- Why is PHP Cookie via plugin only set when logged in as Admin and not regular users? and other questions
- Disable External Pingacks on WordPress Posts and Only Allow ‘Self Pings’
- Custom plugin issue when trying to use the shortcode twice on a page [closed]
- Using wp_get_image_editor in a standalone script
- New Plugin Review
- Making Quote Plugin more efficient
- How to access function from outside of a class within this class in WP plugin?
- PHP can I add line numbers to file_get_contents()
- Using Multiple Submit buttons to trigger customised php functions
- Removing unneccessary p-tags (Not every p)
- Adding Default Settings to Theme My Login plugin
- Swapping wp_dropdown_categories function with wp_category_checklist
- How to access global variable $menu inside a class function
- How can I remove a function that has been added to wordpress with add_filter?
- WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?
- How to store data from multiple forms using ajax and php
- what is the best practice to add new field to an api route
- Retrieve $_POST data submitted from external URL in WordPress(NOT API)
- How to call plugin function per site in a multisite?
- trigger html cleanup for all posts
- WordPress Custom field Colors
- How to obtain the current website URL in my theme?
- What exactly do this function declared into functions.php file of a WP theme?
- How to use html inside a functions.php code?
- Plugin Generate Unexpected output during activation
- Using data sent via AJAX in multiple functions on a WP plugin
- Is it possible to define variables in a wordpress shortcode, and then call the shortcode using a specific variable?
- Custom meta box values are not getting saved for my custom post type
- how to save checkbox data for custom setting?
- WordPress shortcode returns the data before
- Shortcode to embed Edit Account form not working
- Using admin-post.php for admin form but it directs me to admin-post.php white screen
- Call to undefined function error in plugin
- Adding Additional Variables on Menus Page
- Execute Jquery when a specific page in my plugin is loading
- send popup after wp_redirect()
- Using ACF Relationship field to set post type to draft or published status
- How to change basename url for wp-admin?
- How to Send Pingbacks for all Posts in WordPress?
- Reliable way to add nonce to HTTP Header in WordPress?
- Trying to update Woocommerce meta values
- Only the first image uploads
- Add Pre-Defined Value to Click Counter in WordPress
- Illegal string offset checkbox
- ssl redirect function is not working
- Custom plugin: how do I call a PHP file if settings option is set to true?
- PHP multiple forms, same page, isset($_POST[]) not working?
- How to change this ajax function to submit to the default wordpress content area instead of the custom field ‘seller notes’?
- How can i avoid duplicate same post in wp?
- Display a custom name when the user has no name settle in his account
- In a foreach loop, how can I add a meta value if it doesn’t exist?
- How to override theme’s public static function inside of a trait?
- Store user form submitted information in post type
- Enqueue sripts and styles only if function is called
- post_exists stops working in a scheduled event
- Taxonomy Child Term, Counter is staying on 0
- not able to access $_POST on backend profile update
- Creating wordpress user registration form
- Custom Plugin Develoment, Form Action
- PHP get_category() function redeclared
- How to Request a User to Register on Landing at a Site, Then Automatically Delete the Users Password on Logout?
- Private messaging – Getting and displaying the avatar/url of a message recipient
- How to set up an auto delete post?
- Styling admin page rows in order of importance (checkboxes)
- Permission error on plugin save
- Display default WordPress login/registration form into a modal window
- Using Nonce for my Form
- Issues separating my Plugin pages into different files
- Replace TinyMCE with Custom Built Editor
- ajax form function error
- Send foreach $_post method to contact form 7 [closed]
- how can I make content from a plugin hidden when user is logged in? [duplicate]
- display php code in header using wp_head()
- How do I change the Go To Categories link in the term_updated_messages
- Contact form with dynamic dropdown and filter
- WP Custom tables query
- Get the title before comma
- Display 4 chronological posts starting with a random post
- How to show phpinfo() only in a new tab?
- Get value from shortcode to do something
- Creating a mobile site by adding a new class to the body tag from functions.php
- Export Form Data to a CSV then send it as an attachment – contact form 7
- Image rotation issue (horizontal picture uploading as vertical) — Exif issue?
- Allow a particular user to access a particular plugin?
- custom search query database in child theme
- Add Admin Option w/ Anonymous Function
- Form direction to .php on localhost
- main menu page redirects to user ID
- How to have Function of a plugin using global vars into a shortcode?
- How can I clear the theme mod settings?
- Cant get theme to change footer color through theme customizer
- SHARING TO FACEBOOK – FROM DYNAMICALLY GENERATED PAGE
- Prevent users from display default wordpress login form
- How call WordPress shortcode inside function file
- strict custom php script on specific product category [closed]