• Resolved anniearcane

    (@anniearcane)


    Hi there,

    Hope y’all are having a stupendous friday! πŸ™‚
    This is such a silly request, but would someone help me change the shortcodes for my buttons? I have [maxbutton id=”1″], then “2”, then it jumps to “5”. This is because I deleted buttons “3” and “4”, but now I’d like button “5” to have the short code of [maxbutton id=”3″] instead. Not sure if I’m making any sense LOL.
    I’ve also tried creating a new button, but it goes to “6” instead. Is there a way to reset this? I promise to never delete a button again πŸ˜€ Thanks a bunch for your help!!

    Gratefully,
    Ann

    https://ww.wp.xz.cn/plugins/maxbuttons/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author AlanP57

    (@alanp57)

    If you are able to log into your sites control panel, there you can edit the database using the phpMyAdmin program. Use it to open your database and then find the database table ‘maxbuttonsv3’. It will have a prefix on it such as ‘wp_’ so they name of the table might be ‘wp_maxbuttonsv3’ depending on the prefix used at the site. Open that table. You will find the number of the short code is in the ID column. Double click on the number and the program will let you edit the number. Just be sure enter a unique number. (no other record in the table should have the same number).

    It is a good practice to backup your database before making changes in case there is a problem.

    Thread Starter anniearcane

    (@anniearcane)

    Hi Alan!

    Thanks so much for the speedy response!! I really appreciate your help!!! πŸ™‚

    So…I was just on chat with customer support (my host) for 40 mins…poor guy LOL
    We were able to change the buttons, but they looked different (not like buttons, but just a text with link). And, when I tried to make a new button, it still skipped to the later numbers. Soooo…we put everything back as it was before we touched anything LMAO!

    Is there a way to change the numbers and have it “reset” so that it starts counting properly without skipping any shortcodes again?

    Oodles of thanks,
    Ann

    Plugin Author AlanP57

    (@alanp57)

    To reset the wp_maxbuttonsv3 table, delete all the buttons and have them run this command in phpMyAdmin

    ALTER TABLE wp_maxbuttonsv3 AUTO_INCREMENT = 1

    Thread Starter anniearcane

    (@anniearcane)

    Hi Alan *waves happily*

    If buttons 1 and 2 are okay, is it possible to leave them be and just reset everything from 3 and beyond? Or is it necessarily to delete all the buttons?

    Thanks again!!!
    Ann

    Plugin Author AlanP57

    (@alanp57)

    Try

    ALTER TABLE wp_maxbuttonsv3 AUTO_INCREMENT = 3

    Thread Starter anniearcane

    (@anniearcane)

    Oh, shoot, Alan!
    I thought I thanked you for this reply! My most sincere apologies! And thank you!!
    Ann

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

The topic ‘Please help: Change Shortcodes’ is closed to new replies.