WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Remove category from “Pages”

[Resolved] Remove category from “Pages”

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

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

    to

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

    and it worked.

    Thanks again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Remove category from “Pages”’ is closed to new replies.
Skip to toolbar