Title: Using same id widget with Dynamic Widget plugin
Last modified: August 31, 2016

---

# Using same id widget with Dynamic Widget plugin

 *  Resolved [danny1982](https://wordpress.org/support/users/danny1982/)
 * (@danny1982)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/using-same-id-widget-with-dynamic-widget-plugin/)
 * Hi Anmari,
 * A very nice widget you’ve created here!
 * I have one question which is slightly mind boggling:
 * Im also using ‘Dynamic widget plugin’ which gives me an option to ‘display mobile/
   desktop user’, for each widget.
    Im using 4 x ‘text’ widgets (for url ads), and
   want them to display in 2 locations alternately by user platform.
 * When I use this on my post:
    at location 1: [do_widget id=text-9] [do_widget 
   id=text-8]
 * at location 2:
    [do_widget id=text-10] [do_widget id=text-11]
 * The post is showing all 4 widgets on at the same time, and the ‘Dynamic widget
   plugin’ isn’t working.
 * However when I use this:
    [do_widget_area widget_area_class=none]
 * The correct widgets are showing ‘according to screen size’, but both location
   1 and 2 widgets are showing together.
 * Do you know a way I could incooperate the 4 text widgets in 2 locations alternatively?
 * Maybe, is there a way to add another ‘widgets for shortcode 2’ section? or could
   you please suggest something?
 * Kind Regards,
    Danny
 * [https://wordpress.org/plugins/amr-shortcode-any-widget/](https://wordpress.org/plugins/amr-shortcode-any-widget/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/using-same-id-widget-with-dynamic-widget-plugin/#post-7048589)
 * Hi – I don’t know the dynamic widgets plugin. My plugin basically traps the echo’ed
   output of the widget and returns the text to the shortcode filter which replaces
   the ‘do_widget’ text with that returned by the widget.
 * Any such oddities as you describe are typically due to the widget plugin you 
   are using perhaps doing something slightly odd and not anticipating how it will
   be used.
 * to create a new sidebar – register it
    [https://codex.wordpress.org/Sidebars#Register_Single_Sidebar](https://codex.wordpress.org/Sidebars#Register_Single_Sidebar)
   drag widgets to it, then reference it. See parameters section: [https://wordpress.org/plugins/amr-shortcode-any-widget/installation/](https://wordpress.org/plugins/amr-shortcode-any-widget/installation/)
   sidebar=”sidebarname”

Viewing 1 replies (of 1 total)

The topic ‘Using same id widget with Dynamic Widget plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amr-shortcode-any-widget_dde8e5.svg)
 * [amr shortcode any widget](https://wordpress.org/plugins/amr-shortcode-any-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amr-shortcode-any-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amr-shortcode-any-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/amr-shortcode-any-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amr-shortcode-any-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amr-shortcode-any-widget/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [anmari](https://wordpress.org/support/users/anmari/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/using-same-id-widget-with-dynamic-widget-plugin/#post-7048589)
 * Status: resolved