WordPress.org

Ready to get started?Download WordPress

Forums

Simply Exclude
Simply Exclude confusion... or should I be looking elsewhere for problem? (4 posts)

  1. Bob Dou
    Member
    Posted 1 year ago #

    I'm looking to have a secondary blog on my site where the posts are shown on a second page rather than the front.

    I am not a programmer, so if requires coding or modifying, it's beyond me.

    I was told that Simply Exclude would be the first step for doing that, but I can't seem to get it to actually exclude anything. No matter the settings or what's checked off, everything still posts to the front page. I've tried different categories, tags, and even created a new dummy user and tried it as a different author, but it all shows on the main.

    One thing I did notice though, is that if the plug-in is activated, clicking on the bottom of the front page to go to 'Next Page' of blog posts results in a 404.

    Checking 'All Loops' for 'Override query filtering for Main Loop Only or All Loops?' instantly kills everything from showing.

    http://wordpress.org/extend/plugins/simply-exclude/

  2. DavieJ
    Member
    Posted 1 year ago #

    Hi Bob,

    Assuming I've understood you correctly. I would usually do this with a little code rather than a plugin. You can find details on how to manage the loop in WordPress:
    http://codex.wordpress.org/The_Loop#Exclude_Posts_From_Some_Category

    In scenarios that sound similar to yours I would use something like shown in the above link:

    <?php if ( is_home() ) {
    query_posts($query_string . '&cat=-3');
    }
    ?>

    PS. I did read that you're not a programmer, but this shouldn't be beyond you. Can be done very easily with your text editor.

  3. Bob Dou
    Member
    Posted 1 year ago #

    Thank you, that seems to make sense and seems easier since it will only be one category that I want to remove/ show on another page.

    I attempted to add the code from within WordPress via 'Appearance -> Editor -> Main Index Template' (to no avail). Since you mentioned using a text editor, I guess I have to go into the FTP, find the actual page for 'index.php,' and modify/ save it there?

    If that all works, is there an simply way to have it show on another, inside page, or would a plug-in (such as Page Links To) be the preferred method?

    I apologize for all of the questions, but I'm completely clueless and don't want to accidentally mess the site up.

  4. DavieJ
    Member
    Posted 1 year ago #

    Hi Bob,

    It can be done through the WP editor, or from the FTP (under wp-content/themes/your-theme/index.php).

    Check out this thread it should help you:
    http://wordpress.org/support/topic/new-page-to-display-one-category-main-blog-to-exclude-this-category-how?replies=5

    His method used there is slightly different but the end result is the same. Hope that helps you achieve your goal. Don't forget to backup before making any changes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic