Support » Plugin: WordPress Download Manager » Hiding unauthorized categories

  • Resolved Zmokin

    (@zmokin)


    I’m converting over from the now defunct WP-Filebase (free version) and I’m trying to re-create a page with multiple categories of files displayed.

    Each category has its own user permissions.

    I would like to have the page only display the category(s) that a user is authorized to access and hide those they aren’t authorized to access.

    For example, if a user has access to category A and C, the page would only show categories A & C.

    Currently, it shows all categories – A,B & C, but all the files under category B say “Access Denied”. Instead of that message, I just don’t want that category displayed.

    I’m using separate shortcodes to display each category:

    [wpdm_category id=”category-a,” cols=”3″ toolbar=1 desc=0 item_per_page=15 order_by=”post_title” order=”asc” template=”link-template-default-new.php”] [wpdm_category id=”category-b,” cols=”3″ toolbar=1 desc=0 item_per_page=15 order_by=”post_title” order=”asc” template=”link-template-default-new.php”] [wpdm_category id=”category-c,” cols=”3″ toolbar=1 desc=0 item_per_page=15 order_by=”post_title” order=”asc” template=”link-template-default-new.php”]

    Is there any way to hide a category from unauthorized users but display it for the authorized users?

    Thanks for your time.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Shahriar

    (@shahriar0822)

    It is not possible yet to hide. But you can modify the message from settings.

Viewing 1 replies (of 1 total)
  • The topic ‘Hiding unauthorized categories’ is closed to new replies.