Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6912419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:05:23+00:00 2026-05-27T09:05:23+00:00

Can a post be hidden from home page, archive view, category lists etc. and

  • 0

Can a post be hidden from home page, archive view, category lists etc. and viewable only if you have a direct link to it? The blog doesn’t have registered readers and is open to public so that would be a mean of hiding some posts from public view without using the password protection.

I asked this question in WordPress section and the idea there was to use conditional code so I’m asking the question here as well to get closer to the code.

If I used conditioning, would I have to input each post’s ID separately to PHP file for archive, categories, search and such?

EDIT:

After reading a bit more all over, I had an idea of creating a private category and then use some kind of conditioning so that posts from that category are hidden. According to Codex, certain category can be hidden from, for example front page but I don’t know if there’s a way to hide it altogether except when you have a direct link.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:05:24+00:00Added an answer on May 27, 2026 at 9:05 am

    I found the simplest way – just use Simply Exclude WordPress plugin. It has the option to exclude each post (or tag, for that matter) from front page, archive, search or feed. It works flawlessly. You can still view the posts by using direct links.

    (Not actually an answer that includes code but a working solution nonetheless.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a view user control that can post form. This control can be
I have a site where users can post stuff (as in forums, comments, etc)
I can't set a variable from a post array. I have a simple form
I am creating a page where people can post articles. When the user posts
Is there any way instead of a JS hack where I can post from
I'm trying to code a page where you can post a comment without reloading
I'm struggling to read an int from the hidden field on aspx page. <input
I'm having trouble submitting some hidden form data via post from the following function:
I can populate hidden divs only after the second form submit. After the first
I have a text box in a page. Whose visibility is set false from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.