WordPress.org

Ready to get started?Download WordPress

Forums

Post Article, but NOT on Front Page (13 posts)

  1. Root
    Member
    Posted 9 years ago #

    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.

  2. wairoanz
    Member
    Posted 9 years ago #

    *gasp* and the simple answer is... ? :)

  3. Mark (podz)
    Support Maven
    Posted 9 years ago #

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

  4. Root
    Member
    Posted 9 years ago #

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

  5. wairoanz
    Member
    Posted 9 years ago #

    @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".

  6. Mark (podz)
    Support Maven
    Posted 9 years ago #

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

  7. wairoanz
    Member
    Posted 9 years ago #

    good tip, thanks.

  8. Root
    Member
    Posted 9 years ago #

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

  9. Ammonia
    Member
    Posted 9 years ago #

    @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

  10. 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.

  11. wairoanz
    Member
    Posted 9 years ago #

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

  12. Michiel
    Member
    Posted 9 years ago #

    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?

  13. Anonymous
    Unregistered
    Posted 9 years ago #

    Bump

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.