• Resolved DickTater66

    (@dicktater66)


    http://cedarlakecamp.com/fishlog/

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • edit your theme’s templates (index.php, single.php, archive.php ??) and remove the codes with the_category()

    http://codex.wordpress.org/Function_Reference/the_category

    Thread Starter DickTater66

    (@dicktater66)

    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>

    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>

    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.

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

    Thread Starter DickTater66

    (@dicktater66)

    TOY,

    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?

    You should create a child theme to make your changes to. Otherwise, next time you update your theme your changes will be overwritten.
    http://codex.wordpress.org/Child_Themes

    Thread Starter DickTater66

    (@dicktater66)

    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!

    D

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Categories and removing the big Uncategorized message’ is closed to new replies.