• The topic title says it all. There are no options in my widget so there is no save button. Yet in order to get the shortcode your plugin expects me to save the widget that not only does not need saving, but consequently there is no blue save button to push.

    Is this a bug you can fix? WordPress obviously can tell there are no options to save so your plugin should be able to tell that too, and just give the shortcode without expecting anything to be saved.

    In the mean time, is there a workaround for this?

    Steps to reproduce:
    1. make a simple “Hello World” plugin for wordpress. Something like “echo “Hello World”; between the minimal required widget plugin header and footer.

    2. Activate the plugin and go to the widgets page, drag the new widget to Widget Shortcode and try to get the shortcode. You can’t. That’s the bug.

Viewing 1 replies (of 1 total)
  • Plugin Author shazdeh

    (@shazdeh)

    Hi!

    So the reason the plugin does that is, when you drop a widget it doesn’t have an ID, it’s only after the first time you save it that WP gives it one.
    Simply reloading the page will fix this issue.

Viewing 1 replies (of 1 total)
  • The topic ‘There are no options for this widget. Shortcode: Please save this first.’ is closed to new replies.