{"id":76673,"date":"2017-10-28T02:57:09","date_gmt":"2017-10-28T02:57:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/basic-banner\/"},"modified":"2021-04-26T01:44:36","modified_gmt":"2021-04-26T01:44:36","slug":"basic-banner","status":"publish","type":"plugin","link":"https:\/\/ml.wordpress.org\/plugins\/basic-banner\/","author":14211694,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.3","stable_tag":"1.1.3","tested":"5.7.15","requires":"4.5","requires_php":"","requires_plugins":"","header_name":"Basic Banner","header_author":"Hisman","header_description":"Allows you to create and display banners in WordPress.","assets_banners_color":"f44336","last_updated":"2021-04-26 01:44:36","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/hismansaputra","header_plugin_uri":"https:\/\/github.com\/hisman\/basic-banner","header_author_uri":"https:\/\/hisman.co","rating":5,"author_block_rating":0,"active_installs":50,"downloads":2038,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"hisman","date":"2017-10-28 03:00:12"},"1.1.0":{"tag":"1.1.0","author":"hisman","date":"2018-01-10 10:04:01"},"1.1.1":{"tag":"1.1.1","author":"hisman","date":"2018-01-12 06:46:04"},"1.1.2":{"tag":"1.1.2","author":"hisman","date":"2018-09-24 15:35:47"},"1.1.3":{"tag":"1.1.3","author":"hisman","date":"2021-04-26 01:44:36"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1800292,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1800292,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":1800292,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1800292,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.1.2","1.1.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1754178,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Create a new banner"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[784],"plugin_category":[],"plugin_contributors":[148408],"plugin_business_model":[],"class_list":["post-76673","plugin","type-plugin","status-publish","hentry","plugin_tags-banner","plugin_contributors-hisman","plugin_committers-hisman"],"banners":{"banner":"https:\/\/ps.w.org\/basic-banner\/assets\/banner-772x250.png?rev=1800292","banner_2x":"https:\/\/ps.w.org\/basic-banner\/assets\/banner-1544x500.png?rev=1800292","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/basic-banner\/assets\/icon-128x128.png?rev=1800292","icon_2x":"https:\/\/ps.w.org\/basic-banner\/assets\/icon-256x256.png?rev=1800292","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/basic-banner\/assets\/screenshot-1.png?rev=1754178","caption":"Create a new banner"}],"raw_content":"<!--section=description-->\n<p>Basic Banner is a plugin that allows you to create and display banners in WordPress. This plugin creates custom post type called banner to store all the banners.<\/p>\n\n<h4>Displaying the Banner<\/h4>\n\n<p>You can display the banners by using basic banner widget. There is also a shortcode :<\/p>\n\n<pre><code>[basicbanner name=\"\" class=\"\"]\n<\/code><\/pre>\n\n<p>And a function for displaying banners anywhere in your theme :<\/p>\n\n<pre><code>&lt;?php basic_banner_show( $name, $class = ''); ?&gt;\n<\/code><\/pre>\n\n<p>Parameter <code>$name<\/code> is the banner slug and <code>$class<\/code> is the additional HTML classes for banner container.  To get the banner object, you can use this function :<\/p>\n\n<pre><code>&lt;?php $banner = basic_banner_get( $name ); ?&gt;\n<\/code><\/pre>\n\n<h4>Override Banner Template<\/h4>\n\n<ol>\n<li>Locate folder <strong>template<\/strong> in Basic Banner plugin folder (wp-content\/plugins\/basic-banner\/template).<\/li>\n<li>Copy <strong>banner.php<\/strong> file to your theme folder under the folder called <strong>basic-banner<\/strong> (wp-content\/themes\/your-theme\/basic-banner\/banner.php).<\/li>\n<li>Modify <strong>banner.php<\/strong> file as you like.<\/li>\n<\/ol>\n\n<h4>Contribute on GitHub<\/h4>\n\n<p>You can contribute to this plugin via the <a href=\"https:\/\/github.com\/hisman\/basic-banner\">GitHub repository<\/a>.<\/p>\n\n<!--section=installation-->\n<h4>Automatic installation<\/h4>\n\n<p>Automatic installation is the easiest option as WordPress handles the file transfers itself.<\/p>\n\n<ol>\n<li>Log in to your WordPress dashboard.<\/li>\n<li>Go to <strong>Plugins &gt; Add New<\/strong> and search <strong>\"Basic Banner\"<\/strong>.<\/li>\n<li>Once you\u2019ve found our plugin, you can install it by simply clicking <strong>\"Install Now\"<\/strong>.<\/li>\n<li>Activate the plugin.<\/li>\n<\/ol>\n\n<h4>Manual installation<\/h4>\n\n<ol>\n<li>Download the plugin via WordPress.org.<\/li>\n<li>Upload the ZIP file through the <strong>'Plugins &gt; Add New &gt; Upload'<\/strong>.<\/li>\n<li>Activate the plugin.<\/li>\n<li>For more detail about manual installation <a href=\"https:\/\/codex.wordpress.org\/Managing_Plugins#Manual_Plugin_Installation\">you can read it here<\/a>.<\/li>\n<\/ol>\n\n<h4>Updating<\/h4>\n\n<p>Automatic updates should work like a charm; as always though, ensure you backup your site just in case.<\/p>\n\n<!--section=changelog-->\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Support WordPress 5.7.<\/li>\n<li>Fix shortcode errors.<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Fix undefined property in banner object.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fix undefined index when creating a new banner.<\/li>\n<li>Change banner image size in admin to full size.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Custom html classes for banner container.<\/li>\n<li>Show thumbnail &amp; name in banner list.<\/li>\n<li>Add widget for displaying the banners.<\/li>\n<li>Add shortcode for displaying the banners.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Version.<\/li>\n<\/ul>","raw_excerpt":"Allows you to create and display banners in WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/76673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=76673"}],"author":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hisman"}],"wp:attachment":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=76673"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=76673"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=76673"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=76673"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=76673"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=76673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}