Thread Starter
jablka
(@jablka)
okay, I resolved it
the problem was, that the ‘hide_empty’ parameter occurs in
wp-includes/category-template.php twice, in different functions:
function wp_dropdown_categories
and function wp_list_categories
so be sure to change the appropriate one. (I changed both for sure now 😉
do not edit WordPress core files;
the least problem is that these edits get overwritten (lost) when you next upgrade the WordPress version;
the worst case is that you break the whole WordPress installation, so that you need to re-instal all.
for manipulating the ‘Categories’ widget, use a filter function as discribed here: http://www.transformationpowertools.com/wordpress/edit-widget-parameters-filter-wordpress
example:
add_filter('widget_categories_args','show_empty_cats_category_widget');
function show_empty_cats_category_widget($args) {
$args['hide_empty'] = 0;
return $args;
}
(from a recent topic http://wordpress.org/support/topic/adding-new-categories-2?replies=4#post-3035313 )
hi alchymyth
i am using this (<?php wp_dropdown_categories ();?>) function in my coade
it’s binding the category but not clickable. plz sort out this problem.
But isn’t there a global way to show all empty categories whether it is in a widget/sidebar, nav bar, header, or just on a page. I have looked through countless forms and it seems like no one is answering this core question.
I want to be able to click a category on a page that opens to its sub categories, that which then opens to their children that eventually reaches a final post. (like a tricking effect of links that narrow itself down through categories)
Why is this so difficult to do?
Anyone?
@anmaree.annarbortees – this thread is long outdated and marked resolved. Please start your own thread.
http://codex.wordpress.org/Forum_Welcome#Where_To_Post
Maybe this is what you want?
http://wordpress.org/plugins/superslider-menu/