• Resolved cucelo

    (@cucelo)


    Hi friends, I have a category named “lead” for the featured part of my theme. But although I tried I couldnt manage to exclude it .. Last time I tried the following once, but I couldnt

    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’); ?>
    );

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cant exclude :(’ is closed to new replies.