WordPress.org

Ready to get started?Download WordPress

Forums

User Specific Content
[resolved] Combining Private Posts with User Specific Content (2 posts)

  1. omar37
    Member
    Posted 1 year ago #

    Hello,

    As a solution to hiding content completely, I though about setting posts as private and giving access to specific users to these posts.

    I'm not that familiar with PHP or wordpress functions, what I thought would be the best to do is to create a custom template, with a loop that retrieves all of the logged in user specific posts.

    Can you help please? What are the functions I can use to retrieve the logged in user specific content?

    http://wordpress.org/extend/plugins/user-specific-content/

  2. Bainternet
    Member
    Plugin Author

    Posted 1 year ago #

    you can't using this plugin but if you create a custom field with the user id then you can create a simple query based on the logged in user id and the meta keys

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic