WordPress.org

Ready to get started?Download WordPress

Forums

displaying and excluding categories (10 posts)

  1. rogermbyrne
    Member
    Posted 6 years ago #

    hi wpzen masters, i am sure this is any easy questions but as per a million others i am new and looking for help so thanks in advance.

    basically as part of my blog i want to add a page FSBO to list properties for sale by owner for fre, so on this page i just want to display posts that have category FSBO assigned, also i dont want these FSBO posts to display on the home page.

    how easy/difficult is this?

  2. moshu
    Member
    Posted 6 years ago #

    You don't need a Page, in case you were thinking about WP Pages.
    WP does it by default: if you have a category "FSBO" - clicking on its name will result in a so-called category archive, displaying ONLY posts from that category.

    For excluding from homepage > Extend at the top of this page, Plugins > and search for excluder...

  3. rogermbyrne
    Member
    Posted 6 years ago #

    hi moshu

    thanks will search now about the excluder...

    the reason i made a separate page was to have a menu item at the top of the page with FSBO i dont want to have just a list of categories, see hwat i mean http://www.redseasound.com (still very much under development/learning! :)

  4. moshu
    Member
    Posted 6 years ago #

    Yeah, everybody has this misconception...
    Instead of modifying the menu users are thinking of "screwing" WP to do what is their preconception :)
    For me it seems easier to modify one line of code in the Menu:
    http://www.transycan.net/blogtest/2007/07/26/pages-and-categories/

  5. rogermbyrne
    Member
    Posted 6 years ago #

    yes i am misconceived :) at least my mama always said so :)

    i have a big grin on my face thinking of what you said to yourself 'what!? another numpty getting it the wrong way round' :)

    thanks will try to make it work with your tutorial...

  6. rogermbyrne
    Member
    Posted 6 years ago #

    got it to work to some extent but im missing the tab for the menu item FSBO properties just the text appears it links ok to the category page? but no tab outline?

    [Please use Code tag for code]

  7. rogermbyrne
    Member
    Posted 6 years ago #

    ok sorry about the code didnt know! i figured out i missed a css style and hadn't added a class= to the menu item, now it's working.

    it brings me to the (archives for the 'FSBO Properties') and then the posts listed underneath which is exactly what i needed, where can i change this title, archives for the 'FSBO Properties'?

  8. rogermbyrne
    Member
    Posted 6 years ago #

    so i guess this is not possible as i had a search and nobody EVER answered to multiple requests for this....

    thanks for the tutorial anyway moshu

  9. moshu
    Member
    Posted 6 years ago #

    You mean you want to change this:
    archives for the 'FSBO Properties'
    That should be in your template - either archive.php or category.php, depending what do you have in your theme.
    See Template_Hierarchy

  10. rogermbyrne
    Member
    Posted 6 years ago #

    got it! thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags