Support » Plugin: Widget Shortcode » Edit Shortcode ID

  • punica

    (@punica)


    Very good plugin but
    We have a multisite and it would be extremely helpful if we could define our own shortcode or edit the existing one like

    [widget id=”text-14″] > [widget id=”xyz123″]

    is there any possibility?

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author shazdeh

    (@shazdeh)

    Hi,

    The ID is unique to each widget on your website, thus the plugin uses that to identify which widget the shortcode has to display. However you can add bogus parameters to the shortcode and it works just as well, by that I mean something like:

    
    [widget id="text-1" info="This widget is displayed in the header of Shop page only."
    

    The shortcode simply ignores unrecognized parameters.

    Hi Shazdeh,

    I have the same request. I consistently build new sites for clients, and then put all the “unique client data” into widgets using your plugin. Then I can sell the same site template to other clients and just change the data in the widgets.

    When I build new sites, I want to be able to transfer the widget data to a new site. But it’s too hard to build the new site using the same widget ID’s as the old site. So the ability to call a widget by a specific name would be very useful.

    For example, I’d like to be able to set the name of a widget and call the widget by the name OR ID (or just the name).

    So I’d give [widget id=”text-14″] a name of “Client Address” and then I could use [widget name=”Client Address”] in my code and it would pull widget id=14. Does that make sense? This would be very useful to me!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit Shortcode ID’ is closed to new replies.