{"id":718,"date":"2011-12-23T18:03:15","date_gmt":"2011-12-23T18:03:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/widget-shortcode\/"},"modified":"2020-05-04T03:57:42","modified_gmt":"2020-05-04T03:57:42","slug":"widget-shortcode","status":"closed","type":"plugin","link":"https:\/\/ru.wordpress.org\/plugins\/widget-shortcode\/","author":4801455,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.3.5","stable_tag":"trunk","tested":"5.4.19","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Widget Shortcode","header_author":"Hassan Derakhshandeh","header_description":"","assets_banners_color":"","last_updated":"2020-05-04 03:57:42","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":4.8,"author_block_rating":0,"active_installs":30000,"downloads":642001,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":2,"2":0,"3":2,"4":1,"5":62},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"widget-shortcode\/block":{"name":"widget-shortcode\/block","title":"Widget Shortcode"}},"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2023925","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1485803","resolution":"2","location":"assets","locale":""},"screenshot-3.PNG":{"filename":"screenshot-3.PNG","revision":"2023924","resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"The plugin generates the shortcode for you","2":"The shortcode generator in TinyMCE editor","3":"The new Widget Shortcode block in Gutenberg"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[83,80,1141,162],"plugin_category":[43],"plugin_contributors":[78384],"plugin_business_model":[],"class_list":["post-718","plugin","type-plugin","status-closed","hentry","plugin_tags-admin","plugin_tags-shortcode","plugin_tags-theme","plugin_tags-widget","plugin_category-customization","plugin_contributors-shazdeh","plugin_committers-shazdeh"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/widget-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/widget-shortcode\/assets\/screenshot-1.png?rev=2023925","caption":"\u041f\u043b\u0430\u0433\u0438\u043d \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0448\u043e\u0440\u0442\u043a\u043e\u0434\u044b \u0434\u043b\u044f \u0432\u0430\u0441"},{"src":"https:\/\/ps.w.org\/widget-shortcode\/assets\/screenshot-2.png?rev=1485803","caption":"\u0413\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0448\u043e\u0440\u0442\u043a\u043e\u0434\u043e\u0432 \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435 TinyMCE"},{"src":"https:\/\/ps.w.org\/widget-shortcode\/assets\/screenshot-3.PNG?rev=2023924","caption":"The new Widget Shortcode block in Gutenberg"}],"raw_content":"<!--section=description-->\n<p>The shortcode requires the widget ID, but no need to guess, the plugin generates the code for you. To override the widget title for a widget you can use the \"title\" parameter:\n    [widget id=\"text-1\" title=\"New title\"]\nYou can also hide the widget title entirely if desired:\n    [widget id=\"text-1\" title=\"0\"]<\/p>\n\n<p>Additional Parameters:<\/p>\n\n<ul>\n<li><strong>container_tag<\/strong>: the HTML tag to use for the widget container, default: <code>div<\/code><\/li>\n<li><strong>container_class<\/strong>: CSS classname added to the widget container, default: <code>widget %2$s<\/code> (Note: uses sprintf for variable substitution)<\/li>\n<li><strong>container_id<\/strong>: HTML ID attribute for the widget container, default: <code>%1$s<\/code> (Note: uses sprintf for variable substitution)<\/li>\n<li><strong>title_tag<\/strong>: HTML tag to use for the widget title wrapper, default: <code>h2<\/code><\/li>\n<li><strong>title_class<\/strong>: CSS classname for the widget title wrapper, default: <code>widgettitle<\/code><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the whole plugin directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>That's it. Use the [widget] shortcode anywhere you want<\/li>\n<li>Enjoy!<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.3.5<\/h4>\n\n<ul>\n<li>Add support for the Additional CSS Classes field in Gutenberg<\/li>\n<\/ul>\n\n<h4>0.3.4<\/h4>\n\n<ul>\n<li>New Gutenberg block<\/li>\n<\/ul>\n\n<h4>0.3.3<\/h4>\n\n<ul>\n<li>Additional CSS classes to the widget wrapper<\/li>\n<\/ul>\n\n<h4>0.3.2<\/h4>\n\n<ul>\n<li>Fix bug with getting correct widget instance. Thanks @frankieandshadow!<\/li>\n<\/ul>\n\n<h4>0.3.0<\/h4>\n\n<ul>\n<li>Fix possible notice message<\/li>\n<\/ul>\n\n<h4>0.2.9<\/h4>\n\n<ul>\n<li>Fix notice messages regarding unregistered widgets<\/li>\n<\/ul>\n\n<h4>0.2.8<\/h4>\n\n<ul>\n<li>Fix bug where widget titles do not show. Thanks @websitedons!<\/li>\n<\/ul>\n\n<h4>0.2.7<\/h4>\n\n<ul>\n<li>update how the shortcode code is displayed to avoid potential problems; thanks @websitedons!<\/li>\n<\/ul>\n\n<h4>0.2.6<\/h4>\n\n<ul>\n<li>Fix for possible notice message<\/li>\n<li>Additional parameters to control the widget output<\/li>\n<\/ul>\n\n<h4>0.2.5<\/h4>\n\n<ul>\n<li>Fix notice message if widget is inactive<\/li>\n<\/ul>\n\n<h4>0.2.4<\/h4>\n\n<ul>\n<li>Shortcode generator in TinyMCE<\/li>\n<li>i18n<\/li>\n<li>Minor code refactoring<\/li>\n<\/ul>\n\n<h4>0.2.3<\/h4>\n\n<ul>\n<li>Fixed missing widget classes and ID from before_widget<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Fixed a bug with removing titles from widget<\/li>\n<li>Compatibility with Widget Title Links and other plugins that change the widget args<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Added the ability to override the widget title in shortcode<\/li>\n<li>Support for filtering the default widget args<\/li>\n<li>Cleared the PHP notice<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Added do_widget function<\/li>\n<li>Added the 'title' option which enables to suppress the widget title<\/li>\n<\/ul>","raw_excerpt":"Adds [widget] shortcode which enables you to output widgets anywhere you like.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=718"}],"author":[{"embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shazdeh"}],"wp:attachment":[{"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=718"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=718"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=718"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=718"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=718"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ru.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}