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
- Display endpoint’s return into a file (file_put_contents())
- check difference between two timestamp in custom plugin
- How can I process a form submission from an HTTP POST request?
- How do I use the Simple HTML DOM Parser in plugin when other plugin already uses it?
- Adding tawk.to code just before body tag on functions.php file
- Instantiate class to be available to all plugin functions
- ACF: how do I get the fields and its values of a specific group?
- Adding a widget function into the php theme file
- Call to undefined method – Download Monitor
- Is it save to use eval for a jQuery callback method coming from the database?
- How exclude or skip post type with get_next_post_link
- Nav-Menu not showing up
- Migrating site, only header shows
- remove specificly the last tag in all posts
- How to detect and handle the time difference between server and user in WordPress?
- Getting an error when my plugin is updated, but the files update correctly
- Remove span tags from WooCommerce Downloads page
- How to add typehints to function in functions.php when argument is an object?
- Need help with conditional logic for menus