• talblind

    (@talblind)


    This must have been answered a thousand times, but I’ve spent 20 minutes trying to find related posts. Sorry!

    I don’t want categories. I just want tags. How do I remove the whole “Categories”-section from my blog? When I delete categories.php nothing happens… The text goes back to English (my blog is Danish), that’s all.

Viewing 1 replies (of 1 total)
  • MichaelH

    (@michaelh)

    First, every post has to belong to at least one category. If you don’t specify a category when writing a post, WordPress will automatically assign the Default Category.

    But you can stop categories from displaying on your blog. For example, if you were using the WordPress Default theme you would delete this code:

    In wp-content/themes/default/index.php delete:
    Posted in <?php the_category(', ') ?>

    In wp-content/themes/default/sidebar.php delete:
    <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>

    In wp-content/themes/default/single.php delete:
    and is filed under <?php the_category(', ') ?>

Viewing 1 replies (of 1 total)
  • The topic ‘How to remove categories’ is closed to new replies.