WordPress.org

Ready to get started?Download WordPress

Forums

remove category from The Blog (5 posts)

  1. tiagosgd
    Member
    Posted 2 years ago #

    Hello.
    I would like to remove all categories from The Blog, except the posts of the "news" category (ID=121).
    I am trying to do that on home.php, but I don't know... Anyone can do that for me?

    Other thing... I am trying to add "continue reading" to categories page, but I don't know how to do that.

    Thank you

  2. ndoremieux
    Member
    Posted 2 years ago #

    what do you mean by remove categories? you mean delete them or not displaying them? those are 2 different things. you don't have to display them if you don't want to.
    if you want to remove (like delete) categories, then you can delete all categories one by one (but you'll have to keep one, your "news"), all the posts will be automatically reassigned to the default category "news".

  3. tiagosgd
    Member
    Posted 2 years ago #

    I mean not display all categories in the blog. Only the category "news".

  4. ndoremieux
    Member
    Posted 2 years ago #

    you mean from the menu or from side bar?
    if from the menu create a custom menu, and add your category news to the menu
    (the other categories will not be displayed)

    if from the side bar, remove the categories widget and add a text widget where you put html code like this : News
    so it displays only the News category

    that should do it,
    Nathalie

  5. tiagosgd
    Member
    Posted 2 years ago #

    It is from the Blog page, where appear all the posts.
    I only want to show in that page the "news" category.

    I found this: http://wordpress.org/support/topic/new-page-to-display-one-category-main-blog-to-exclude-this-category-how?replies=5 but it doesn't work...

Topic Closed

This topic has been closed to new replies.

About this Topic