Plugin Author
anmari
(@anmari)
Hi Tanner
‘Default’ means that that is the default sidebar that the plugin will look for the widget settings in. To reference a different sidebar where the widget has been setup, use sidebar=”sidebarname” in the shortcode.
See https://ww.wp.xz.cn/plugins/amr-shortcode-any-widget/installation/
As for ‘changing the name’ (ie using same additional sidebar but calling it something else) one cannot and there should be no reason why it should be necessary? It’s only ever seen by admin when setting up widgets. Since you can reference other sidebars, if you really wanted to for some unusual reason, you could create your own sidebar, and use that in the do_widget shortcode as per above
I’m customizing it for a client and changing the title and description so they know exactly what it’s for. I used a contained widget per block of text on the homepage so they can’t mess up anything. For anyone else looking to do this:
global $wp_registered_sidebars;
$wp_registered_sidebars[ ‘widgets_for_shortcodes’ ][‘name’] = ‘New Title’;
$wp_registered_sidebars[ ‘widgets_for_shortcodes’ ][‘description’] = ‘New Description;
Thanks for such an awesome plugin btw. Really made it easy to make sure my client doesn’t touch anything except the copy on the page.