WordPress.org

Ready to get started?Download WordPress

Forums

Private Post Distinction (3 posts)

  1. blackc2004
    Member
    Posted 8 years ago #

    First I'd like to say thanks for the amazing new 2.0! I love the fact that the private posts are now integrated on the main page when you are logged in! Something I wrote the code for way back in the b2 days!

    However, I'd like to request that there be some sort of distinction on the main page between public and private entries. IE, add a "- Private" after the post-title.

    Thanks.

  2. blackc2004
    Member
    Posted 8 years ago #

    I've created a plugin for this.
    You can find it here:
    http://www.cjbonline.org/index.php/2006/02/07/first-plugin/

    Thanks.

  3. blackc2004
    Member
    Posted 8 years ago #

    I've updated my plugin to version .5

    This new version adds lots of new features.

    The biggest one is a management page for all private posts. This page is listed under the "Manage" admin menu and is caleld "PrivatePosts" this page allows you to view all the private posts and to mass update them to change them to Public posts.

    I've also added a function called "show_private_posts()" which you can see in action on the left menu bar under "Recent Privates". This function uses the WordPress options of "Posts Per Page" and "What to Show" to show the most recent private posts. If there are no private posts it will not print anyting (Not even the header).

    Lastly, I've made some updates to the original function of this plugin, I've added a variable called the '$Private_Indicator' which makes it easy to change what the main page indicator is. IE, you can change it to an img, etc.

    You can find the new plugin here.

    Happy Hacking! :D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.