• According to the wiki, one of the default arguments for:

    <?php wp_list_cats(‘arguments’); ?>

    is:

    ‘all’ – string – Text to display for the option to show all categories (default is “All”)

    On my site, I do not get the option to view all. Here’s the site:
    https://www.publichealthcenter.com/organizations/organizations.php
    I have tried several permutations, including:
    <?php wp_list_cats(‘hide_empty=0&optioncount=1′,’all’); ?>
    and
    <?php wp_list_cats(‘all&hide_empty=0&optioncount=1’); ?>
    What’s the trick to getting that option to return?

Viewing 3 replies - 1 through 3 (of 3 total)
  • <?php wp_list_cats(‘optionall=1&all=All&hide_empty=0&optioncount=1’); ?>

    Thread Starter ccheaton

    (@ccheaton)

    Ok, cool, and Thanks! I just didn’t know the proper syntax.
    As a followup, what do I set the Read options to for it to display all of them? It still follows the options that I have set in the admin panel and will only display the most recent x # that I specify and/or days worth.
    I don’t really want to pull the entire list each time somebody hits the page, but I do want to pull the entire list if somebody clicks on ViewAll.

    Thread Starter ccheaton

    (@ccheaton)

    Maybe I should just do it paged?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wiki quesiton re: wp_list_cats()’ is closed to new replies.