How to exclude single post ID from archives?

Community Forums Forums Design Tips and Tricks How to exclude single post ID from archives?

This topic is: not resolved

Tagged: , ,

This topic contains 8 replies, has 4 voices, and was last updated by  braddalton 11 months, 1 week ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #41522

    jorwesflow
    Participant
    Post count: 18

    I have a post that is serving as a Genesis Responsive Slider filler, but it has a custom redirect URL to a static page. So this post does not need to be in archives. How can I exclude it from archives?

    http://www.thattheyremainfree.com
    #41549

    braddalton
    Participant
    Post count: 9192

    You can use code or a plugin http://perishablepress.com/3-ways-to-exclude-content-from-wordpress-feeds/

    I have also written a post about how to do this which is up to date and tested.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #41559

    jorwesflow
    Participant
    Post count: 18

    Brad, I’d rather avoid a plugin for this, and the code would be for an entire category. I’m going for the “granular” approach to control single posts. Where is the post you’ve written on the subject? I checked your site and feedburner and couldn’t find it.

    Thanks

    Jordan

    #41780

    braddalton
    Participant
    Post count: 9192

    http://wpsites.net/web-design/exclude-category-posts-page/


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #41849

    jorwesflow
    Participant
    Post count: 18

    Thanks, Brad. This seems to have worked great. Only (minor) problem is that in the Archives sidebar widget, the month of May is still visible and clickable, even though all posts in May are in the category I just excluded from the Archive. When you click on “May”, you are then brought to a 404 page. http://www.thattheyremainfree.com/blog/

    Not a huge issue, and I’m sure it will resolve if the client wants to post a legitimate Blog post before the month closes out. If they don’t, however, the Month of May might sit orphaned in that sidebar Archive widget.

    #41900

    braddalton
    Participant
    Post count: 9192

    You can remove the widget or add a conditional tag to the widget using the Widget Logic plugin.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #42220

    Anita
    Participant
    Post count: 7346

    @jorwesflow, I forgot one (1) step in my previous step-by-step instruction on your previous forum on this. Create a category called “Placeholder” – on the posts you are using for the Page redirects – check the Placeholder category and exclude the Placeholder Category ID in the Genesis Settings.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #62356

    krbishop
    Participant
    Post count: 20

    Hello – Where can I find the ‘Custom Redirect URL’ field? Is that a plugin? …

    UPDATE: Nevermind… I found it in Yoast SEO box :)

    • This reply was modified 11 months, 1 week ago by  krbishop.
    • This reply was modified 11 months, 1 week ago by  krbishop.
    #62366

    braddalton
    Participant
    Post count: 9192

    On every edit screen. Its at the end of the Theme SEO Settings meta box.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.