• There are some categories on my homepage that I use for the lead picture and some videos. When I exclude them with plugin it also removes the posts related to category.

    But I just want to remove the name of the category

    I did it like the following and tried some other ways but couldnt manage it, help needed…

    function wp_list_categories($args = ”) {
    $defaults = array(
    ‘show_option_all’ => ”, ‘orderby’ => ‘name’,
    ‘order’ => ‘ASC’, ‘show_last_update’ => 0,
    ‘style’ => ‘list’, ‘show_count’ => 0,
    ‘hide_empty’ => 1, ‘use_desc_for_title’ => 1,
    ‘child_of’ => 0, ‘feed’ => ”, ‘feed_type’ => ”,
    ‘feed_image’ => ”, ‘exclude’ => ”, ‘current_category’ => 0,
    ‘hierarchical’ => true, ‘title_li’ => __(‘Categories’),
    ‘echo’ => 1, ‘depth’ => 0
    <?php wp_list_categories(‘exclude=9’); ?>
    );

The topic ‘Cat. Exclude Problem -Part2-’ is closed to new replies.