{"id":39232,"date":"2015-10-04T14:26:13","date_gmt":"2015-10-04T14:26:13","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/simple-shortcode-buttons\/"},"modified":"2016-10-27T08:25:09","modified_gmt":"2016-10-27T08:25:09","slug":"simple-shortcode-buttons","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/simple-shortcode-buttons\/","author":14320073,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.2","stable_tag":"1.3.2","tested":"4.3.34","requires":"4.0.1","requires_php":"","requires_plugins":"","header_name":"Simple shortcode buttons","header_author":"davidp","header_description":"","assets_banners_color":"d2ebee","last_updated":"2016-10-27 08:25:09","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/davidp.net\/simple-shortcode-buttons","header_author_uri":"http:\/\/davidp.net","rating":4.3,"author_block_rating":0,"active_installs":30,"downloads":2583,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":"1","3":0,"4":0,"5":"3"},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1259284","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.3.1","1.3.2"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1259303","resolution":"1","location":"assets"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1259303","resolution":"2","location":"assets"},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1259303","resolution":"3","location":"assets"},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"1259303","resolution":"4","location":"assets"}},"screenshots":{"1":"Added buttons - gallery button with custom SQL query and GIF button with thumbnail and GIF image input fields.","2":"Gallery and GIF buttons in WP Editor toolbar","3":"Inserting gallery shortcode via shortcode button","4":"Example gallery shortcode setup"}},"plugin_section":[],"plugin_tags":[172,2239,1332,80],"plugin_category":[43,46],"plugin_contributors":[93675],"plugin_business_model":[],"class_list":["post-39232","plugin","type-plugin","status-closed","hentry","plugin_tags-buttons","plugin_tags-edit","plugin_tags-editor","plugin_tags-shortcode","plugin_category-customization","plugin_category-editor-and-writing","plugin_contributors-davidpuc","plugin_committers-davidpuc"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/simple-shortcode-buttons_d2ebee.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-shortcode-buttons\/assets\/screenshot-1.jpg?rev=1259303","caption":"Added buttons - gallery button with custom SQL query and GIF button with thumbnail and GIF image input fields."},{"src":"https:\/\/ps.w.org\/simple-shortcode-buttons\/assets\/screenshot-2.jpg?rev=1259303","caption":"Gallery and GIF buttons in WP Editor toolbar"},{"src":"https:\/\/ps.w.org\/simple-shortcode-buttons\/assets\/screenshot-3.jpg?rev=1259303","caption":"Inserting gallery shortcode via shortcode button"},{"src":"https:\/\/ps.w.org\/simple-shortcode-buttons\/assets\/screenshot-4.jpg?rev=1259303","caption":"Example gallery shortcode setup"}],"raw_content":"<!--section=description-->\n<p>Add shortcode buttons to your WordPress editor to make shortcode inserting really easy.<\/p>\n\n<!--section=installation-->\n<p>From your WordPress dashboard<\/p>\n\n<ol>\n<li>Visit \u2018Plugins &gt; Add New\u2019<\/li>\n<li>Search for \u2018Simple shortcode buttons\u2019<\/li>\n<li>Activate Simple shortcode buttons from your Plugins page.<\/li>\n<\/ol>\n\n<p>From WordPress.org<\/p>\n\n<ol>\n<li>Download Simple shortcode buttons<\/li>\n<li>Upload the \u2018dp-shortcode-buttons\u2019 directory to your \u2018\/wp-content\/plugins\/\u2019 directory, using your favorite method (ftp, sftp, scp, etc\u2026)<\/li>\n<li>Activate Simple shortcode buttonsfrom your Plugins page.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Options<\/dt>\n<dd><p>There are various options users can edit when adding new buttons or editing existing ones:<\/p>\n\n<p>Shortcode \u2013 name of your shortcode\nIcon \u2013 icon that will represent your shortcode in editor\nTitle \u2013 title that will be shown as popup title and hover text when hovering over the button icon\nEnclosing shortcode \u2013 read more about enclosing shortcodes here.<\/p><\/dd>\n<dt>Attributes<\/dt>\n<dd><p>Every shortcode can have multiple attributes which you can add by clicking on Add new attribute option. Attribute options are:<\/p>\n\n<p>Attribute \u2013 attribute name\nLabel \u2013 text that will be shown above attribute value input field\nValues \u2013 values to be selected from. Values can be any post type (eg. \u2018post\u2019, \u2018page\u2019, \u2018custom-post-type\u2019), comma seperated values (eg. option 1, option 2), comma seperated pairs of values and labels, seperated with pipe (eg. 1|label 1, 2|label 2) or free input (leave empty)\nMulti \u2013 defines if user can select multiple options (not used when free input)\nSQL \u2013 custom value selected directly from database via SQL. Query result must return value and label fields. SQL query overwrites Values option of attribute.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Fixed a major save bug when no buttons were added<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fixed a typo that caused PHP warning<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Fixed a bug where activation of the plugin would fail on older PHP servers<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Completely rewritten button saving and added Import\/Export options. <strong>Important notice for pre 1.2 users:<\/strong> If you wish to keep your saved buttons, you need to copy the contents of the <em>shortcodes.js<\/em> file in your <em>\/wp-content\/plugins\/simple-shortcode-buttons\/<\/em> plugin installation location, update the plugin and then import them via <strong>Import buttons<\/strong> tab in plugin options.<\/li>\n<li>Input values must now be separated with semilocon (;) instead of comma. <strong>Important notice for pre 1.2 users:<\/strong> Make sure you edit your  attribute values accordingly to the change.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fixed number of displayed post when setting attribute value as post type - select input shows all posts of defined post type now<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial version<\/li>\n<\/ul>","raw_excerpt":"Add shortcode buttons to your WordPress editor to make shortcode inserting really easy.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/39232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=39232"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/davidpuc"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=39232"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=39232"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=39232"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=39232"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=39232"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=39232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}