Horje
Insert a widget or multiple widgets or a entire widget area (sidebar) into a page using a shortcode. Wordpress Tutorial

Noted That:

  • To install correctly this amr-shortcode-any-widget.zip .
  • Fisrt Download the amr-shortcode-any-widget.zip to your computer
  • Extract/Open amr-shortcode-any-widget.zip to Your Computer.
  • Then, Find readme.txt file inside amr-shortcode-any-widget.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " amr-shortcode-any-widget.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " amr-shortcode-any-widget.zip "  Downloaded plugin from your computer, Where you downloaded amr-shortcode-any-widget.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " amr shortcode any widget " folder is added on left sidemenu. Now, Click on " amr shortcode any widget " folder.

   Noted that: If you do not see " amr shortcode any widget " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  amr shortcode any widget Configurtions and Settings or How to work " amr shortcode any widget " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " amr shortcode any widget " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is amr shortcode any widget
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Test your chosen widget in a normal sidebar or widget area first.
  2. Then activate this plugin
  3. Go to Appearance > widgets and find the ” widgets for shortcode” sidebar or widget area
  4. Drag your chosen widget from your normal sidebar to the shortcodes sidebar. Save.
  5. Now go to a page and enter a do_widget shortcode The shortcode any widget settings page has some helpful (hopefully) examples and links.
  • [do_widget widgetname] eg: [do_widget calendar]
  • [do_widget “widget name”]. eg: [do_widget “tag cloud”]
  • [do_widget id=widgetid] . eg: [do_widget id=tag-cloud-3]

  • [do_widget_area] (will use the “widgets in shortcodes” widget area / sidebar

  • [do_widget_area sidebarid] or [do_widget_area widget_area=sidebarid] for another sidebar or widget area – eg: to maximise likelihood of getting your theme’s widget css to apply.

[do_widget …] Parameters:

  • nameofwidget or name=” nameofwidget ” This is NOT the title of the widget. THis is the name that you see in the widgets menu page even when unassigned to a sidebar. For existing users , you can also use just the name of the widget without name=. It must be the first parameter then. You can only do this with the name, not the id.
  • id= wordpress assigned id of widget . Examples: id=meta-3, id=tag-cloud-9 etc
  • title=false to hide the widgets title OR to override your themes first sidebar html settings for widget titles, use title= htmltag where htmltag is one of h1,h2,h3,h4,h5,header,strong,em.
  • wrap= htmltag where htmltag is one of div,p,main,aside,section. This will override your themes first sidebar widget wrapping html.
  • widget_classes=none This will remove the class “widget” from the wrapping html and the class “widget_title” from the title html. This may be enough to remove any unwanted css caused by your theme.
  • class= yourclassname By default the plugin will add a class of amr-widget to the wrapping html. You can use this to add any special css. Add css either by editing your themes stylesheet if it is a custom theme, or using something like the wordpress custom css plugin.
  • sidebar=” sidebarname ” will default to widgets_for_shortcode sidebar. Only use if you want to re-use a widget already being used in another sidebar. THis is theme dependent and WILL break if you change themes. Safer to use the widget_id.

[do_widget_area …] Parameters:

  • widget_area= yourwidgetarea defaults to ‘widgets_for_shortcodes’ if nothing entered
  • widget_area_class=none /* option to remove theme styling by removing the widget_area class from the sidebar html */
  • widget_classes=none /* option to remove the widget class from the widget wrappinghtml
  • class= yourclassname default is amr_widget_area. This will affect the widget area NOT the individual widgets. At the moment can only remove the widget classes, not replace them when using do_widget_area.

Advanced users WARNING: using do_widget_area with a widget area other than the shortcode one means that if you changes themes and the new theme has different sidebars, then this shortcode with a named widget area will not work.

See the settings page for links to help your create the shortcodes in a page.

The plugin has been tested with most standard widgets (rss feeds, tag cloud, pages, meta, search, and of course my own plugins widgets – upcoming events list, calendar and user lists.

If you use a widget more than once for different reasons, you may need to use the widget id to isolate which widget instance and it’s settings to use. ie: [do_widget id=categories-6] . If you just use the name, it will display all widgets in the shortcode sidebar with that name (all instances).

If you liked this plugin, you might also like my other plugins:

  • icalevents.com – a ics compliant events plugin fully integrated with wordpress, so it will work with many other plugins (seo, maps, social)
  • wpusersplugin.com – a suite of plugins to help with membership sites. Major plugin is amr users

widget , insert , multiple , widgets , entire , area , sidebar , into , page , using ,

Name

Read Article
https://develop.horje.com/learn/1434/reference