Allows you to create and display banners in WordPress.
Author: | Hisman (profile at wordpress.org) |
WordPress version required: | 4.5 |
WordPress version tested: | 5.7.11 |
Plugin version: | 1.1.3 |
Added to WordPress repository: | 28-10-2017 |
Last updated: | 26-04-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | https://github.com/hisman/basic-banner |
Total downloads: | 1 288 |
Active installs: | 40+ |
Click to start download |
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.
Displaying the Banner
You can display the banners by using basic banner widget. There is also a shortcode :
[basicbanner name="" class=""]
And a function for displaying banners anywhere in your theme :
<?php basic_banner_show( $name, $class = ''); ?>
Parameter $name
is the banner slug and $class
is the additional HTML classes for banner container. To get the banner object, you can use this function :
<?php $banner = basic_banner_get( $name ); ?>
Override Banner Template
- Locate folder template in Basic Banner plugin folder (wp-content/plugins/basic-banner/template).
- Copy banner.php file to your theme folder under the folder called basic-banner (wp-content/themes/your-theme/basic-banner/banner.php).
- Modify banner.php file as you like.
Contribute on GitHub
You can contribute to this plugin via the GitHub repository.
Screenshots
ChangeLog