To hide categories from certain users.”

    • Jose Blanco Garcia
      Participant
      # 2 weeks, 4 days ago

      I have created a category to store and keep organized the files of different clients, but these folders are displayed to all clients even though the content is not shown since this content is restricted to each user. My question is, is there any plugin available, and if not, is there any way to hide these categories for users who do not have content in those folders and are restricted only to the owners or users to whom those files have been assigned? Thank you very much.

    • Gail Hansomn
      Participant
      # 2 weeks, 1 day ago

      I have the same exact question. If a category contains no items for the logged in user then it should be hidden.

    • Thomas
      Keymaster
      # 1 week, 5 days ago

      Hello,

      You can hide the categories for which the currently logged-in user does not have any content assigned to in Appearrence > Widgets > Files/Pages categories.

      Edit the widget options and you’ll see a dropdown to hide those categories.

      Regards.

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

    • Gail Hansomn
      Participant
      # 1 week, 1 day ago

      This is perfect. Thank you for clarifying this!

Viewing 3 reply threads

You must be logged in to reply to this topic.