Forums

How to Display Categories Inside a WordPress page. (8 posts)

  1. DerekHarper
    Member
    Posted 1 year ago #

    Um...

    Well, i've seen that in some sites they display all their categories in a page & then people get to see the categories within that page.

    Is there a plugin we must add for that or what?

    Cause i think it's a brilliant Idea :)

  2. vtxyzzy
    Member
    Posted 1 year ago #

    Here is a link to a template for the WP 2.9 default theme that lists categories by the first letter of the category name.

  3. DerekHarper
    Member
    Posted 1 year ago #

    isn't there any other way to display categories but by the full name?

  4. vtxyzzy
    Member
    Posted 1 year ago #

    That code shows the full names, but groups alphabetically by the first letter.

  5. DerekHarper
    Member
    Posted 1 year ago #

    thats smart, how do you install it?

  6. DerekHarper
    Member
    Posted 1 year ago #

    Also what else should i add so it shows the categories in a page
    (Which was the idea from the start)

  7. MichaelH
    Volunteer
    Posted 1 year ago #

    Also could install http://wordpress.org/extend/plugins/exec-php/ and put this in your page

    <?php
    wp_list_categories('title_li=');
    ?>
  8. vtxyzzy
    Member
    Posted 1 year ago #

    The code is a template. Copy it to your theme's folder. Create a blank Page and assign it as the template for that page.

    Note that is made for the WP 2.9 default theme. It may not look right in your theme. It was meant as a starting point to create your own version.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags