Support » Fixing WordPress » Private posts, widgets

  • aggk

    (@aggk)


    Hi,

    I´m building a blog where some posts will be available for logged in users only, (marked as “private”). Now, these private posts show up fine for logged in users on the blog page but they are not available in archives, categories and recent posts widgets even for logged in users. Is there any way to control this?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • ThemeSumo

    (@themesumo)

    I believe that is default functionality, but you can modify this using a filter as explained at the bottom of this thread.

    Hope this helps.

    Matthijs

    (@matthijsver)

    Hi,

    If you set a post to Private, It means it is not published on the front-end.

    Maybe this plugin can help you out 🙂

    Check if the user role is Administrator or Editor. Users with Administrator or Editor role can only see the private posts.

    aggk

    (@aggk)

    Thanks everyone!

    ThemeSumo, that thread is very close to my answer.
    Now I just need to apply that on the archive widget.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Private posts, widgets’ is closed to new replies.