{"id":19893,"date":"2012-09-12T21:26:21","date_gmt":"2012-09-12T21:26:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/widget-or-sidebar-per-shortcode\/"},"modified":"2014-09-13T10:57:48","modified_gmt":"2014-09-13T10:57:48","slug":"widget-or-sidebar-per-shortcode","status":"closed","type":"plugin","link":"https:\/\/sa.wordpress.org\/plugins\/widget-or-sidebar-per-shortcode\/","author":7406396,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.6.1","stable_tag":"0.6.1","tested":"4.0.38","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Widget or Sidebar Shortcode","header_author":"Frank Staude","header_description":"","assets_banners_color":"","last_updated":"2014-09-13 10:57:48","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.staude.net\/donate","header_plugin_uri":"http:\/\/staude.net\/wordpress\/plugins\/WidgetSidebarShortcode","header_author_uri":"http:\/\/www.staude.net\/","rating":5,"author_block_rating":0,"active_installs":800,"downloads":22346,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.4","0.5","0.6","0.6.1"],"block_files":[],"assets_screenshots":{"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1538854","resolution":"2","location":"plugin"},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1538854","resolution":"1","location":"plugin"}},"screenshots":{"1":"<p>Using the shortcode in the content area of an post.<\/p>","2":"<p>The output from the shortcode at Screenshot 1<\/p>"}},"plugin_section":[],"plugin_tags":[170,86,80,168,241],"plugin_category":[43],"plugin_contributors":[79265],"plugin_business_model":[],"class_list":["post-19893","plugin","type-plugin","status-closed","hentry","plugin_tags-page","plugin_tags-post","plugin_tags-shortcode","plugin_tags-sidebar","plugin_tags-widgets","plugin_category-customization","plugin_contributors-fstaude","plugin_committers-fstaude"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/widget-or-sidebar-per-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/widget-or-sidebar-per-shortcode\/trunk\/screenshot-1.jpg?rev=1538854","caption":"<p>Using the shortcode in the content area of an post.<\/p>"},{"src":"https:\/\/ps.w.org\/widget-or-sidebar-per-shortcode\/trunk\/screenshot-2.jpg?rev=1538854","caption":"<p>The output from the shortcode at Screenshot 1<\/p>"}],"raw_content":"<!--section=description-->\n<p>This plugin implements 2 new shortcodes.<\/p>\n\n<p>[widget name=\"\" classname='' instance=\"\"] to use a widget per shortcode in the content area from a page\/post.<\/p>\n\n<p>name is the name of the widget, e.g.  Calendar.\nclassname is the name of the PHP Class that implement the widget.\nYou can use name or classname.<\/p>\n\n<p>So are  [widget name=\"Kalender\" instance=\"title=Hello,World!\"]\nand [widget classname=\"WP_Widget_Calendar\" instance=\"title=Hello,World!\"]\nproduce the same output.<\/p>\n\n<p>instance are the attributs of the widget. e.g.  title=Hello,World!  so the complete shortcode is\n[widget name=\"Calendar\" instance=\"title=Hello,World!\"]<\/p>\n\n<p>For the instance list of the Wordpress builtin Widgets look at http:\/\/codex.wordpress.org\/Function_Reference\/the_widget\nFor other Widgets look at the source code from the widget or ask the widget author.<\/p>\n\n<p>[sidebar name=\"\"] to use a sidebar (with all widgets) in the content area from a page\/post.<\/p>\n\n<p>name is the name of the sidebar e.g. Showcase Sidebar so the complete shortcode is\n[sidebar name=\"Showcase Sidebar\"]<\/p>\n\n<p>For own css styling, the plugin wraps the widgets in &lt; div id=\"Widget_Name\" class=\"widget_shortcode\"&gt; and the sidebar in &lt; div id=\"Sidebar_Name\" class=\"sidebar_shortcode\"&gt;<\/p>\n\n<p>If your want report a bug or a feature, please use http:\/\/bugs.staude.net<\/p>\n\n<p>Entrys in the changelog with numbers means the ticket id on\nhttp:\/\/bugs.staude.net<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin from within the Dashboard or upload the directory <code>widget-or-sidebar-per-shortcode<\/code> and all its contents to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use the shortcodes.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What is the instance parameter?<\/dt>\n<dd><p>instance are the attributs of the widget. e.g.  title=Hello,World!  so the complete shortcode is\n[widget name=\"Calendar\" instance=\"title=Hello,World!\"]<\/p>\n\n<p>For the instance list of the Wordpress builtin Widgets look at http:\/\/codex.wordpress.org\/Function_Reference\/the_widget\nFor other Widgets look at the source code from the widget or ask the widget author.<\/p><\/dd>\n<dt>I found a bug<\/dt>\n<dd><p>Please report it at http:\/\/bugs.staude.net<\/p>\n\n<p>Select the project \"WP Plugin: Widget or Sidebar Shortcode\" and report it.<\/p><\/dd>\n<dt>I have a feature request<\/dt>\n<dd><p>Please report it at http:\/\/bugs.staude.net<\/p>\n\n<p>Select the project \"WP Plugin: Widget or Sidebar Shortcode\" and report it.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.6.1<\/h4>\n\n<ul>\n<li>remove debugcode<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>0000051: instance ignores others parameters<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>Disable some php notices if WP Debug active<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>#0000041: Would it be possible to call a widget by its PHP class name instead of its name?\nAdded parameter classname. Use: [widget classname='']<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>#0000003: link to bugs.staude.net in readme<\/li>\n<li>#0000002: filenames &amp; classnames conform to plugin name<\/li>\n<li>fix: contributorname and donate link in readme<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>typo in readme<\/li>\n<li>filenames changed to repository name (\"fs-\" removed)<\/li>\n<li>fix: wrong directory name in installation part of readme<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>First version.<\/li>\n<\/ul>","raw_excerpt":"Use widgets or sidebars per shortcode in the content area from pages\/posts","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/19893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=19893"}],"author":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fstaude"}],"wp:attachment":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=19893"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=19893"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=19893"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=19893"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=19893"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=19893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}