WordPress.org

Ready to get started?Download WordPress

Forums

Publish Post to a Specific Page (4 posts)

  1. Kingshield
    Member
    Posted 6 years ago #

    I need to know if there is a way to publish a post to a specific page only.

    For instance, I have a page called News. Anytime I want to create a post about "News", I want it to go to that page only.

    Essentially, what I am looking for is an option at the bottom of the post, asking me what page I want to publish this post. (I now this doesn't exist, but I stated it for simplification.)

    I understand there is a way around this with "categories", but I prefer the other option. I have looked at the "Inline Post" plugin, but it's too manual, and I prefer a more automated system.

    Additionally, is it possible to password protect a "category"? I need a way to limit the visibility of posts (on either a page, or a category if thats the way it has to be done) to only certain users.

  2. KNorman
    Member
    Posted 5 years ago #

    Did you ever get an answer or find a solution to this. I need this as well?

  3. idearius
    Member
    Posted 5 years ago #

    As far as I know, password-protecting a Category can't be done with WordPress. You password-protect content, not ways of displaying it.

    The first issue (about listing certain posts in certain pages) can be solved by creating a page and adding the code to list all posts in a certain category. This plugin has worked for me: http://wordpress.org/extend/plugins/sobeks-post-in-category/

    And you may also try using code or this other plugin: http://wordpress.org/extend/plugins/wordpress-category-posts/

    Cheers.

  4. Justin Tadlock
    Member
    Posted 5 years ago #

    Additionally, is it possible to password protect a "category"? I need a way to limit the visibility of posts (on either a page, or a category if thats the way it has to be done) to only certain users.

    Yes, in a way.

    You can use the current_user_can() (for a capability check) or is_user_logged_in() function to block posts from certain users:
    http://codex.wordpress.org/Function_Reference/is_user_logged_in
    http://codex.wordpress.org/Roles_and_Capabilities

Topic Closed

This topic has been closed to new replies.

About this Topic