• This plugin is an excellent addition to many WP websites. However there is a bit of a problem with the shortcode copy. You (dev) have wrapped the output in <code> tags, and when copied and paste into TinyMCE, the tags are included so the result is just a display of the shortcode. I edited the output function to use a readonly textarea and the problem is gone, however, when the app is updated, that modification is replaced.

    This is just a suggestion that you use this output method instead, just so I (or other users) don’t have to edit the file after each update.
    <textarea class="widefat" onclick="this.select()" readonly="readonly">[widget id="'. $widget->id .'"]</textarea>

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

    (@shazdeh)

    I found that the <code> tag comes into the editor only if you select and copy the blank space before the <code> as well, if you select only the shortcode itself and copy it the code tag doesn’t come along.
    This is an excellent idea and I’ll add this to the next update.
    Thank you for your suggestion.

    Thread Starter websitedons

    (@websitedons)

    Great change. Though I prefer the textarea, just to completely see the code for those widgets with long names.

    Now if only the widget shortcode insert button could list all active widgets in sidebars, you know, so widgets from any sidebar could quickly be inserted in a post (wink wink)

    Thanks, great work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Very useful app’ is closed to new replies.