このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Basic Banner

説明

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

  1. Locate folder template in Basic Banner plugin folder (wp-content/plugins/basic-banner/template).
  2. Copy banner.php file to your theme folder under the folder called basic-banner (wp-content/themes/your-theme/basic-banner/banner.php).
  3. Modify banner.php file as you like.

Contribute on GitHub

You can contribute to this plugin via the GitHub repository.

スクリーンショット

  • Create a new banner

インストール

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself.

  1. Log in to your WordPress dashboard.
  2. Go to Plugins > Add New and search “Basic Banner”.
  3. Once you’ve found our plugin, you can install it by simply clicking “Install Now”.
  4. Activate the plugin.

Manual installation

  1. Download the plugin via WordPress.org.
  2. Upload the ZIP file through the ‘Plugins > Add New > Upload’.
  3. Activate the plugin.
  4. For more detail about manual installation you can read it here.

Updating

Automatic updates should work like a charm; as always though, ensure you backup your site just in case.

評価

1件のレビューをすべて表示

貢献者と開発者

Basic Banner はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Basic Banner” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.1.3

  • Support WordPress 5.7.
  • Fix shortcode errors.

1.1.2

  • Fix undefined property in banner object.

1.1.1

  • Fix undefined index when creating a new banner.
  • Change banner image size in admin to full size.

1.1.0

  • Custom html classes for banner container.
  • Show thumbnail & name in banner list.
  • Add widget for displaying the banners.
  • Add shortcode for displaying the banners.

1.0.0

  • Initial Version.