• I’m trying to find a solution to hide some content on a page made with Elementor, without hiding the whole page. I tried using Elementor templates, allowing Ultimate Member content restrictions on templates, but turning on content restrictions on the template either hides the entire page or does nothing, depending on the template “type” chosen from the list that Elementor provides (Such as “container”, or “section”). I didn’t try all the template types, but it seems there are some issues doing it this way.

    That being said, I found a more manual solution that is working with my testing, but I wanted to check and make sure this wasn’t breaking any best practices or have any security issues (perhaps with caching?). What works for me is adding a “shortcode” widget somewhere within my elementor page design, and then simply nesting the shortcode for the elementor template I want to show within Ultimate Member’s shortcode for restricting content based on user role, like so:

    [um_loggedin show_lock="no"]
    [elementor-template id="7267"]
    [/um_loggedin]

    This seems to work just fine, but I wanted to check if there were any issues with this solution.

  • You must be logged in to reply to this topic.