Add a Widget

Start
You have one of several ways to add a Widget to your wordpress site. Select one of the options below or multiple to setup the script on your site.
Widget System
Widgets are built into WordPress, so you can immediately begin adding these widgets to your site. First, navigate to your Appearance – Widgets and then go to the section of widgets you want to add this to. Click the plus in the content area and then type Atavism to filter out the Atavism plugins for selection.
Customize Your Theme
If your theme supports customizing your widgets, you can choose this option from the top of the screen and enter this menu. Select the widget location where you want to place it or select the a Widget on the page to modify, this will load that particular Widget section.
Editing a widget to select the widget section.
You can alternatively select the location for adding the widget.
Once you selected the right location, in the Add a block, type in Atavism. This will provide you with a list of all the widgets that match this. In this case we have two, the Character and Server status widgets. For this purpose we have chosen the Character widget.
Once you have selected it, the page will refresh and the widget will appear in the location. If you like everything, then go ahead and click Publish, otherwise it won’t save your changes.
Once it has been placed, if you want to move it around the page, then use these menu commands to move it up and down in the selected structure.
WordPress Page or Post
AMR Shortcode Any Widget
Using AMR is as easy as editing or create a page and adding the widget in the same way as the built in system. In this case, you will add the widget to the Widget for Shortcodes widget area. AMR will then create the shortcode that is used to create the widget. We highly recommend using this plugin as it will service all your needs.
More detailed instructions at the wordpress plugin installation and faq pages.
- Test your widget in a normal sidebar first.
- Drag the widgets you want to use to the shortcodes sidebar.
- Add a do_widget or do_widget_area shortcode to a page.
To add a single widget to a page
- Add the shortcode [do_widget widgetname] to a page:
- [do_widget categories] or [do_widget name=categories]
- [do_widget “tag cloud”] or [do_widget id=widgetid]
- To see a list of your widgets in their sidebars, add ?do_widget_debug to the url of page with the do_widget shortcode.
More advanced options:
- Use title=false to hide a widget title.
- [do_widget pages title=false] will hide the widget title
To change the style, change the html:
- Use title=somehtmltag and wrap=somehtmltag to change the html used. This may change how your theme’s css affects the widget when it is in page. It all depends what what html selectors your theme uses.
- Use class=yourclassname to add a class – maybe to override your themes widget styling? Obviously you must have css that applies to that class.
- [do_widget pages title=h3] give the title a heading 3 html tag.
- [do_widget “tag cloud” wrap=aside] will wrap the widget in an “aside” html tag.
Valid title html tags are :
- h1
- h2
- h3
- h4
- h5
- header
- strong
- em
Valid html wrap tags are :
- div
- p
- aside
- section
To add multiple instances of the same widget:
- [do_widget id=widgetid1] [do_widget id=widgetid2]
To add a widget area – all widgets in the widget area:
- [do_widget_area] or [do_widget_area widget_area=sidebar-1]
- NB: Using something like the twenty-fourteen theme? you might end up with white text on a white background. Tweak the widget classes or the html of the wrap or title. If that fails, adjust your css.