Contents authored by the current connected user

    • # 3 years, 4 months ago

      Hello, I used the snippet on this page: https://wp-customerarea.com/knowledgebase/allow-contents-listings-to-also-show-private-contents-that-are-authored-by-the-current-connected-user/and

      The snippet is working fine on files but not on pages. Any idea about this issue?

       

      Thank you

    • Thomas
      Keymaster
      # 3 years, 4 months ago

      Hi,

      I’ll update this code snippet to explain a bit more clearly, but this snippet is only needed if you want to do that programmatically, but you can also do that in Settings -> WP Customer Area -> {each private content type} -> uncheck “hide posts where the currently connected user is the author”.

      I’ll also test this snippet again to make sure it is applying correctly to any post_type, in case something is going wrong.

      Best regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

Viewing 1 reply thread

The topic ‘Contents authored by the current connected user’ is closed to new replies.