WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove category from "Pages" (3 posts)

  1. billyztop
    Member
    Posted 8 years ago #

    Is there a way for me to remove the category info from the bottom of my "pages" and not my "posts" I noticed in 2.0 WP doesnt let me change the category of "Pages" so I would like to remove the info altogether.

    Thanks

  2. MichaelH
    Member
    Posted 8 years ago #

    This could depend on your Theme, but maybe in your index.php file you might see something like this so change it from:

    <?php wp_list_cats(); ?>

    to

    <?php if ( is_home() ) { wp_list_cats(); } ?>

    Make a copy of the file before changing it just in case.

  3. billyztop
    Member
    Posted 8 years ago #

    Changed <?php the_category(', ') ?>

    to

    <?php if ( is_home() ) { the_category(', '); } ?>

    and it worked.

    Thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags