This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Can I use Ultimate Member shortcodes with So widgets?

6 years ago · Last reply by Andrew Misplon 6 years ago

Hi,

I’m not sure if this is a question for SO or for Ultimate Member (UM) plugin.

I have a SO Builder page with multiple rows. One row is a Layout Builder widget.
I would like to make the entire Layout Builder widget row viewable only to logged in users using the UM shortcode.
(ie, [um_loggedin]….[/um_loggedin])

Is there a way to do this?

The Layout Builder Widget itself contains 3 rows.
Row 1 is SO Editor. I can successfully use UM shortcode to limit text visibility.
Same for Row 2.
But Row 2 is SO Image Widget and SO Editor.
Couldn’t figure out how to use UM shortcode around either a) all the rows in the widget or b) around the image.

Should I be using some other types of SO layouts or widgets to accomplish my goal?

Hopefully this question makes sense.
Thanks in advance.

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Andrew Misplon Staff 6 years, 9 days ago

    Hi Baponline

    Thanks for posting.

    I’m not aware of a method that would allow rows or widgets to be hidden using the mentioned shortcode. You could insert the image into a SO Editor widget (Add Media button) instead of using the SO Image widget. Would that perhaps resolve the issue in this location?

  2. baponline 6 years, 7 days ago

    Thank you for the suggestion.
    I ended up creating a content block (using a plugin) and recreating my SO Layout Builder widget in it.
    On my page, I added a new SO Editor row and entered the code for the content block and surrounded it with the UM shortcodes.
    Worked perfectly!
    Not sure why I didn’t think of that sooner….but something in your response triggered that thought, so thank you.

    I was also trying to figure out how to make certain rows within a Feature widget only visible to logged in users. I think I may try something similar using content blocks and using separate Feature widgets.

  3. Andrew Misplon Staff 6 years, 7 days ago

    Super, glad to hear you’re making progress.

    Without intermediate level custom development, I don’t know of a way to insert a shortcode within the features of a Features widget. Splitting the widget up would be the easiest.

  4. baponline 6 years, 6 days ago

    Thank you for your help.

  5. Andrew Misplon Staff 6 years, 6 days ago

    For sure :) Cheers for now.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread