Support » Fixing WordPress » Post Article, but NOT on Front Page

  • Is there anyway to mark an article so that is gets added to the blog in its correct chronological order, but does not get displayed on the front page? A plugin perhaps, or a particular way of deploying a plugin?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Historically this issue has been dealt with from the reverse perspective by hacking the question of what you do want on the front page (1 cat only / limited posts) all the others fall into place.

    *gasp* and the simple answer is… ? 🙂

    Mark (podz)

    (@podz)

    Support Maven

    Edit the date / time stamp so it gets slotted in where you want it ?

    Well search for single cat on front page. Or something. There are hacks galore.

    @podz: Thanks, but changing the time stamp only works sometimes, depending how many fresh post exist on the front page. Changing the date is not useful because it takes it out of the chronological order that I would like to maintain.
    @root: I have tried searching but sheesh getting good search results is painful if you use more than one word in the search. I reckon a second/optional Google Site Search would make a welcome addition to this support forum. … i.e. “Didn’t find what you were looking for? Try our Google Site Search”.

    Mark (podz)

    (@podz)

    Support Maven

    In Google, put this after your search term
    site:wordpress.org

    good tip, thanks.

    If ever I get round to installing my random *WP power users tips* Google searching the forum will be no 1 on my list.

    @persephone
    I tried that in my index page, as I need something similar, as Im trying to have sepereate pages for each category, and too no avail. With what you suggested here is the error I get:
    Parse error: parse error, unexpected T_ENDFOREACH in /home/ammonia/public_html/word/index.php on line 127

    Moderator Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    I believe you can simplify persephone’s handy tip to this:
    Find the start of the loop on your index page. It looks like this
    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
    Directly below it, put the following code:
    <?php if(1 == get_post_custom_values(exclude_from_index)) continue; ?>
    And that should do it, though I haven’t verified this myself.

    Ok, I see we are getting somewhere on this… thanks all.

    Hi, can the custom field code also be used to avoid some categories from being displayed in the Archives? So, when a user clicks on let’s say “August 2004” a certain category is not displayed? I am using Kitten’s Show Categories plug-in to hide a category from the menu and the text being displayed on the frontpage and when you click a date in the calendar. The final step is to get it out of the archives. Can I do this with custom field code?

    Bump

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Post Article, but NOT on Front Page’ is closed to new replies.