Title: Edit shortcode
Last modified: September 19, 2019

---

# Edit shortcode

 *  Resolved [alsterb](https://wordpress.org/support/users/alsterb/)
 * (@alsterb)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/edit-shortcode-5/)
 * Hi,
 * This might seem like a strange question, but is it possible to edit the shortcode?
   I realise at the moment it uses an id, for example:
 * [visualizer id=”1234″]
 * I have a template which shows a progress report. The idea is the administrator
   enters the shortcode for the relevant piechart depending on the progress made.
   I have a series of shortcodes that each refer to a pie chart showing 10%, 20%,
   30%, 40% etc, but they are very random and I had to add instructions like this:
 *     ```
       (DELETE THIS SECTION AFTER)
       Add shortcode as appropriate to key below:
       [visualizer id="1034"]  = 0% complete
       [visualizer id="1037"]  = 10% complete
       [visualizer id="1039"]  = 20% complete
       [visualizer id="1046"]  = 30% complete
       [visualizer id="1054"]  = 40% complete
       [visualizer id="1058"]  = 50% complete
       [visualizer id="1062"]  = 60% complete
       [visualizer id="1066"]  = 70% complete
       [visualizer id="1070"]  = 80% complete
       [visualizer id="1074"]  = 90% complete
       [visualizer id="1078"]  = 100% complete
       (DELETE THIS SECTION AFTER)
   
       [visualizer id="1070"]
       ```
   
 * It would be great to add instead something like this:
 *     ```
       [visualizer id="0percent"]
       [visualizer id="10percent"]
       [visualizer id="20percent"]
       [visualizer id="30percent"]
       [visualizer id="40percent"]
       [visualizer id="50percent"]
       [visualizer id="60percent"]
       [visualizer id="70percent"]
       [visualizer id="80percent"]
       [visualizer id="90percent"]
       [visualizer id="100percent"]
       ```
   
 * And they just delete the ones appropriate and it would be easier to modify as
   the progress changes.
 * Fingers crossed this is possible – I wasn’t sure if I could modify the shortcodes
   directly in the database?
 * Thanks!
    -  This topic was modified 6 years, 8 months ago by [alsterb](https://wordpress.org/support/users/alsterb/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [contactashish13](https://wordpress.org/support/users/rozroz/)
 * (@rozroz)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/edit-shortcode-5/#post-11962087)
 * [@alsterb](https://wordpress.org/support/users/alsterb/) from what I understand,
   you need to refer to a chart on the basis of its, say, title (assuming you have
   given the title as ‘0percent’ etc.) than its id. This is currently not possible.
 *  Plugin Contributor [contactashish13](https://wordpress.org/support/users/rozroz/)
 * (@rozroz)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/edit-shortcode-5/#post-12007328)
 * Closing this

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Edit shortcode’ is closed to new replies.

 * ![](https://ps.w.org/visualizer/assets/icon-256x256.gif?rev=3084574)
 * [Visualizer – Tables & Charts Manager with Built-in AI Generator](https://wordpress.org/plugins/visualizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/visualizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/visualizer/)
 * [Active Topics](https://wordpress.org/support/plugin/visualizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/visualizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/visualizer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [contactashish13](https://wordpress.org/support/users/rozroz/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/edit-shortcode-5/#post-12007328)
 * Status: resolved