dropdown_cats [ WordPress Function ]
dropdown_cats ( $optionall = 1, $all = 'All', $orderby = 'ID', $order = 'asc', $show_last_update = 0, $show_count = 0, $hide_empty = 1, $optionnone = false, $selected = 0, $exclude = 0 )
| Parameters: |
|
| See: | |
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: wp_dropdown_cats, dropdown_categories, wp_dropdown_categories, wp_dropdown_pages, dropdown_link_categories
No description yet.
Source
<?php
function dropdown_cats($optionall = 1, $all = 'All', $orderby = 'ID', $order = 'asc',
$show_last_update = 0, $show_count = 0, $hide_empty = 1, $optionnone = false,
$selected = 0, $exclude = 0) {
_deprecated_function( __FUNCTION__, '2.1', 'wp_dropdown_categories()' );
$show_option_all = '';
if ( $optionall )
$show_option_all = $all;
$show_option_none = '';
if ( $optionnone )
$show_option_none = __('None');
$vars = compact('show_option_all', 'show_option_none', 'orderby', 'order',
'show_last_update', 'show_count', 'hide_empty', 'selected', 'exclude');
$query = add_query_arg($vars, '');
return wp_dropdown_categories($query);
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/dropdown cats « WordPress Codex
This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions.
codex.wordpress.org - WordPress › Support » dropdown_cats() : Show only a selected ...
I am using the form based drop down category menu. http://codex.wordpress.org/ Template_Tags/dropdown_cats. Lets outline an example tree, for this post.
wordpress.org - WordPress › Support » Exclude categories in dropdown_cats
Is there a hack or something that makes the exclude category function also work in the dropdown_cat function, instead of only in the wp_list_cats? I'm not good ...
wordpress.org - dropdown_cats() WordPress function reference, arguments and ...
dropdown_cats( $optionall = 1, $all = 'All', $orderby = 'ID', $order = 'asc', $ show_last_update = 0, $show_count = 0, $hide_empty = 1, $optionnone = false, ...
queryposts.com
Gebruikersdiscussies [ wordpress.org ]
- kayaker on "Functionality Issue With Dropdown_Cats"
- Marshall1972 on "Functionality Issue With Dropdown_Cats"
- Marshall1972 on "dropdown_cats"
- Marshall1972 on "dropdown_cats"
- Marshall1972 on "Functionality Issue With Dropdown_Cats"
- kri on "Displaying the children of a category for dropdown_cats"
- dave_merwin on "Displaying the children of a category for dropdown_cats"
- Willuknight on "dropdown_cats() : Show only a selected Categories Children"
- kinomuto on "Nice URLS possible in dropdown_cats?"
- Alex Mills (Viper007Bond) on "Nice URLS possible in dropdown_cats?"