• Resolved jdowns1

    (@jdowns1)


    Users sign up on my site based on their organization. Each organization has their own membership directory, and I have each directory shortcode on a single wordpress page. Depending on the user’s role that is logged in, while viewing that page, they will only see their directory.

    The issue I’m having is that I can see the header/footer of the other directories that I don’t have access to (indicated in yellow in the screenshot below). The search bar is hidden as expected (I restrict the search bar to the appropriate user role as well), but the ‘sort by’ and search result message are still displayed.

    Screenshot 2024-06-01 015633.png

Viewing 2 replies - 1 through 2 (of 2 total)
  • @jdowns1

    You can try wrapping the the directory shortcode in a show content shortcode like this

    [um_show_content roles="contributor,subscriber"][ultimatemember form_id="9"][/um_show_content]
    Thread Starter jdowns1

    (@jdowns1)

    This worked, thanks for the suggestion.

    The intent of my post was to suggest that it was a defect and was hoping it could be corrected in the plugin itself. As a user without access to the directory, I shouldn’t be able to see ANY of the content of the directory, including the header/footer, and not just the list of users.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple Member Directory Shortcodes on Page’ is closed to new replies.