Title: Edit Shortcode ID
Last modified: December 15, 2018

---

# Edit Shortcode ID

 *  [punica](https://wordpress.org/support/users/punica/)
 * (@punica)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/edit-shortcode-id/)
 * 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](https://wordpress.org/support/users/shazdeh/)
 * (@shazdeh)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/edit-shortcode-id/#post-10994180)
 * 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.
 *  [mdh9m](https://wordpress.org/support/users/mdh9m/)
 * (@mdh9m)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/edit-shortcode-id/#post-11173128)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/widget-shortcode.svg)
 * [Widget Shortcode](https://wordpress.org/plugins/widget-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/widget-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-shortcode/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [mdh9m](https://wordpress.org/support/users/mdh9m/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/edit-shortcode-id/#post-11173128)
 * Status: not resolved