Support » Themes and Templates » 1 cat, how to remove cat link below post?

  • 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… ๐Ÿ™‚


Viewing 4 replies - 1 through 4 (of 4 total)
  • It’s in index.php and single.php. (and page.php?)

    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.

    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.

    Duh! My fault as usual:) Thanks all!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘1 cat, how to remove cat link below post?’ is closed to new replies.