[Resolved] Hide a category from list of categories

Home Forums Support [Resolved] Hide a category from list of categories

Home Forums Support Hide a category from list of categories

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #606313
    Alan

    We would like to create a category called Private in which we can create posts that won’t be publicly linked to, but for which we can privately send a URL to the post.

    How can we cause this Private category to not show in the list of categories in the sidebar?

    If I have to add PHP code to make that happen, how do I do it?

    #606344
    Leo
    Staff
    Customer Support

    Hi there,

    Would a solution like this work better?
    http://www.wpbeginner.com/plugins/how-to-allow-public-post-preview-of-unpublished-posts-in-wordpress/

    Let me know ๐Ÿ™‚

    #606552
    Max

    Alan

    This plugin works:

    https://wordpress.org/plugins/ultimate-category-excluder/

    Kind Regards

    Max

    #606869
    Alan

    The Ultimate Category Plugin does not do what I want. Posts in the excluded category do not show up in the Blog of my test site:
    https://thinkglobalgreen.org/tech/blog/
    But the “Private” category that I excluded shows up in Categories widget in the right sidebar, and one can then see all the posts in that category, so they are NOT hidden from the public:
    https://thinkglobalgreen.org/tech/category/private/

    The Public Post Preview appears to accomplish the job we need. The trick is to save the draft. Then the checkbox for public preview URL appears. This is the one for my test post:
    https://thinkglobalgreen.org/tech/?p=115&preview=1&_ppp=f47a2dc3d4

    But since it is not published, people cannot wander in from the public website — what we want.

    Thank you!

    #606901
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

    #623163
    Alan

    I changed this to Not Resolved because the Public Post Preview expires, and we want the link to be available long term.

    #623168
    Leo
    Staff
    Customer Support

    Let’s mark this as resolved and use your topic.

    Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.