The Erudite
How do I remove Categories from Posts? (3 posts)

  1. rewarp
    Posted 4 years ago #

    Now that we have tags in WordPress, I see no reason to use Categories for my posts as well. It seems like an inelegant duplication of the same thing.

    I have a child theme of The Erudite, and I have spent weeks trying to work out this problem on my own through various other forums, but none of them seem to work with The Erudite.

    I hope someone can help me with this simple problem of removing the lines "Posted in category". For example, I want to remove the line "Posted in People" in this blog post of mine for both the post and for the front page.


  2. wpbum
    Posted 4 years ago #

    Open single.php


    <span class="cat-links"><?php printf( __( 'Posted in %s', 'erudite' ), get_the_category_list(', ') ) ?></span>

    either delete it or just comment it out by pasting in

    <!--<span class="cat-links"><?php printf( __( 'Posted in %s', 'erudite' ), get_the_category_list(', ') ) ?></span>-->

  3. rewarp
    Posted 4 years ago #

    Thanks. Worked like a charm when I edited the files in the Erudite folder. But not when I pasted the edited files to the child folder.

    Isn't editing child themes as simple as copying the relevant php files to the child folder? In this instance, single.php and home.php?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic