1 cat, how to remove cat link below post? (5 posts)

  1. ragecg
    Posted 10 years ago #

    Hey all, first post here, LOVE WP! Great work, I'm working deep into it and am going to be suggesting it as a killer CMS for my clients.

    Anyhoo, working on my personal theme/template, and I only have one main category, and I have 4-5 "Pages".

    At the bottom of every post, there is "Posted in Category 1 | Edit | No Comments »"

    I have comments turned off, and using a plug I found, I can remove that no prob.

    However, how do I remove the "Posted in Category 1" part?

    I'll be searching the default template php tonight, but if someone already knows the page I can find it in so I can comment it out or whatnot, that would be great.


    PS, I was a bad boy, and was in a hurry, forgot to just do a search, will do that first from now on... :)


  2. lyklev
    Posted 10 years ago #

    It's in index.php and single.php. (and page.php?)

  3. Lorelle
    Posted 10 years ago #

    I'm guessing, since Themes and styles can vary, but you might look for #postmetadata, or generate a test page and view the source and search for "Posted in Category" and see what section that shows up in. That will lead you to the right place in the CSS file.

  4. moshu
    Posted 10 years ago #

    In the Default theme (Kubrick):
    For example index.php - line 17.
    <p class="postmetadata">Posted in <?php the_category(', ') ?>...etc.
    In the same way you can find it in similar context in ALL the pages that use The Loop: archive.php, search.php, single.php.

  5. ragecg
    Posted 10 years ago #

    Duh! My fault as usual:) Thanks all!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.