• Hello guys, I’m going crazy! I need to retrieve the name or id of the widget to be able to then put onto a page, I do not want to install the plugin, the theme allows me to add a widget simply writing [widget id] or [widget “widget name”]. The problem is that until a few years ago, in the custom widgets, appeared the id of the widget, and I had no problems to retrieve it, now, returning after time to update the site with the new interface of wordpress, I can not find where retrieve the id or name of the widget. Can you help me? Please, I’m doing the head and the wall !!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello NedLud2,

    Hope you’re well!

    Could you link me to the theme you are currently referring to?

    Best Regards,
    Calvin

    Thread Starter NedLud2

    (@nedlud2)

    Hi, i’m using this theme: https://digitalnature.eu/themes/mystique/

    The problem is in the administration panel, I can’t retrieve in any mode the id number of widgets ??

    Thank you.

    Hello,

    I am still not 100% clear on what you want to achieve.. sorry but could you upload a screenshot to show me what you want to retrieve the id from?

    Best Regards,
    Calvin

    Hey there NedLud,

    Not sure if you figured this one out, but basically:

    Admin –> Widgets

    You then add what ever widgets you want to use in a shortcode, you add them to the Arbitrary sidebar area. You can then simply use the name on the widget:

    https://monosnap.com/image/LGxLAO0XNv9EFbmq27dIrVZqqGqTnJ

    If they’re not in the sidebar, they won’t work. You then take the shortcode, so that example as you saw would be [widget “Search”]

    It also looks like that theme hasn’t been updated in a while, it means support may become limited and eventually if it breaks, you’ll need to fix or hire someone to fix it for you. Just saying ??

    Hope this helps.

    Thread Starter NedLud2

    (@nedlud2)

    Yes, perfect, it’s OK. I’have done this. But if i have more widget with the same name with different configuration how can i do? In the past I used in this case ID NUMBER, was displayed in the widget options, with the new version of wordpress is no longer displayed. However, your help is very useful. Thank you
    Sorry for my poor english ??

    Hey again,

    So in the instance you use multiple widgets of the same name we can do this:

    [widget "Text" number=1]
    [widget "Text" number=2]

    This displays the Text widget, then note the number, 1 is the first instance and 2 is the second. The number is the order you have them in the Arbitrary sidebar.

    Take care.

    Thread Starter NedLud2

    (@nedlud2)

    YES, YEEES, YEEEEEESSSSS.
    Thank you. You’ve been very kind, thanks ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘id or name widgets’ is closed to new replies.