{"__v":25,"_id":"56b1cd231bc8490d00701ed0","category":{"__v":1,"_id":"569d55acec29360d00f6679c","pages":["569d55adec29360d00f6679e"],"project":"569d55abec29360d00f66798","version":"569d55acec29360d00f6679b","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-01-18T21:14:20.939Z","from_sync":false,"order":0,"slug":"documentation","title":"Converter Functionality"},"parentDoc":null,"project":"569d55abec29360d00f66798","user":"569d557c0306a10d00ce996e","version":{"__v":17,"_id":"569d55acec29360d00f6679b","project":"569d55abec29360d00f66798","createdAt":"2016-01-18T21:14:20.374Z","releaseDate":"2016-01-18T21:14:20.374Z","categories":["569d55acec29360d00f6679c","569d58cc0306a10d00ce9971","569d5c37ec29360d00f667a7","569ec89aebbadc0d0079bf71","569eccaa4a5c8b0d00744b3c","569eccbeffccd10d00a05cac","569ecd0f2d320817003b80d3","569ed216fbee990d0072d990","56b35bfb53da320d00c29716","56c1dc3d47394f0d00e227e8","570b98171e91d4220012acd8","570b9fa85f7a88340019f9f7","570e1ac1132c6d2b0000ab0b","570f5f72d6c6f00e00b98782","570f701ad6c6f00e00b98795","570f80fbb85a841900aa9505","5734a9642a48a90e0078e5ed"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"createdAt":"2016-02-03T09:49:23.194Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":4,"body":"WordPress Widgets add content and features to your theme. For example some default widgets that come with WordPress are Tag cloud, Search, etc. Plugins will often add their own widgets. To display widgets you need to create a widget area where multiple widgets can be installed. After the conversion you can add widgets to your widget area through the WordPress Dashboard.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<div class=\\\"wp-widgets-right\\\">\\n\\tA widget area named \\\"Right\\\" will appear here\\n</div>  \",\n      \"language\": \"html\",\n      \"name\": \"An example of creating a widget area called \\\"Right\\\"\"\n    }\n  ]\n}\n[/block]\n### A WordPress Widget Area\nAdd a WordPress Widget Area with one simple class.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Class Name\",\n    \"h-1\": \"Functionality\",\n    \"0-0\": \"wp-widgets-name\",\n    \"0-1\": \"**Display a widget area**\\n\\nDisplays a widget area called \\\"Name\\\" where multiple widgets can be installed.\"\n  },\n  \"cols\": 2,\n  \"rows\": 1\n}\n[/block]\n### Adding widgets to the widget area\nAfter you have installed and activated your theme you will need to add widgets to the widget area. Check out the <a href=\"https://codex.wordpress.org/WordPress_Widgets#Displaying_Widgets\" target=\"_blank\">WordPress documentation on how to add widgets to your widget area</a>.\n### Widget styling\nWidgets use the default WordPress styling and for now need to be styled separately after the conversion.","excerpt":"Add widget areas in to your theme","slug":"create-a-widget-area","type":"basic","title":"Widgets"}

Widgets

Add widget areas in to your theme

WordPress Widgets add content and features to your theme. For example some default widgets that come with WordPress are Tag cloud, Search, etc. Plugins will often add their own widgets. To display widgets you need to create a widget area where multiple widgets can be installed. After the conversion you can add widgets to your widget area through the WordPress Dashboard. [block:code] { "codes": [ { "code": "<div class=\"wp-widgets-right\">\n\tA widget area named \"Right\" will appear here\n</div> ", "language": "html", "name": "An example of creating a widget area called \"Right\"" } ] } [/block] ### A WordPress Widget Area Add a WordPress Widget Area with one simple class. [block:parameters] { "data": { "h-0": "Class Name", "h-1": "Functionality", "0-0": "wp-widgets-name", "0-1": "**Display a widget area**\n\nDisplays a widget area called \"Name\" where multiple widgets can be installed." }, "cols": 2, "rows": 1 } [/block] ### Adding widgets to the widget area After you have installed and activated your theme you will need to add widgets to the widget area. Check out the <a href="https://codex.wordpress.org/WordPress_Widgets#Displaying_Widgets" target="_blank">WordPress documentation on how to add widgets to your widget area</a>. ### Widget styling Widgets use the default WordPress styling and for now need to be styled separately after the conversion.