[resolved] Categories and removing the big Uncategorized message (9 posts)

  1. DickTater66
    Posted 4 years ago #


    every post gets UNCATEGORIZED in a big balloon under the post. Really clutters and junks up the look of the blog.

    We have no categories, don't need them. Just want the blog post to look clean and not 50% filled with messages about UNCATEGORIZED.

  2. Michael
    Forum Moderator
    Posted 4 years ago #

    edit your theme's templates (index.php, single.php, archive.php ??) and remove the codes with the_category()


  3. DickTater66
    Posted 4 years ago #

    Thanks for your help!

    I found this in the cedarlakecamp.com/fishlog/wp-content/themes/fishlover/index.php file

    what exactly should I remove...just the words (the_category) or the whole line ?? I understand this may or may not be the spot...may not work and I should go look elsewhere...and replace anything I removed before I go on looking in other files.

    <p>Posted in <?php the_category(', ') ?> <?php the_tags('(Tags: ', ', ', ')'); ?> <span>|</span> <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></p>

  4. Michael
    Forum Moderator
    Posted 4 years ago #

    remove this part:

    Posted in <?php the_category(', ') ?> <?php the_tags('(Tags: ', ', ', ')'); ?> <span>|</span>

    i.e. leave just this:

    <p><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></p>

  5. toyhypeusa
    Posted 4 years ago #

    Does this work for all themes? I spent about 20 minutes just now trying to find what to remove. I am using the Twenty Eleven theme.

    I can't find it in the spreadsheet or category template.

  6. toyhypeusa
    Posted 4 years ago #

    Just understood the second post (i'm new to this) and in none of those templates are the code to be deleted.

  7. DickTater66
    Posted 4 years ago #


    are you able to see your complete file/folder tree for your WordPress installation?

    There are a bunch of index.php and other files it could be located in, evidently. And from what I understand each template could have it in a different place. This is the first place I looked and I am going to remove the code and test to see if it worked. If not, it is in a different file.

    Are you having the same issue as me?

  8. President McCheese
    Posted 4 years ago #

    You should create a child theme to make your changes to. Otherwise, next time you update your theme your changes will be overwritten.

  9. DickTater66
    Posted 4 years ago #

    Dear alchymyth,

    You did it! First try. I am no PHP programmer but it was pretty clear which index.php to look at first and you were right. Additionally, you were right about what code to snip, and first try all the Uncategorized mentions on the blog disappeared.

    Thank you much!


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.