Title: Basic Banner
Author: hisman
Published: <strong>2017 年 10 月 28 日</strong>
Last modified: 2021 年 4 月 26 日

---

搜尋外掛

![](https://ps.w.org/basic-banner/assets/banner-772x250.png?rev=1800292)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/basic-banner/assets/icon-256x256.png?rev=1800292)

# Basic Banner

 由 [hisman](https://profiles.wordpress.org/hisman/) 開發

[下載](https://downloads.wordpress.org/plugin/basic-banner.1.1.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/basic-banner/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/basic-banner/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/basic-banner/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/basic-banner/#developers)

 [技術支援](https://wordpress.org/support/plugin/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](https://github.com/hisman/basic-banner).

## 螢幕擷圖

 * [[
 * 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](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).

#### Updating

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

## 使用者評論

![](https://secure.gravatar.com/avatar/659cc09d1504711d19a2a4cd74f2523fed619bb83dadfc6efa0ef05bf1184187?
s=60&d=retro&r=g)

### 󠀁[best simple plugin](https://wordpress.org/support/topic/best-simple-plugin/)󠁿

 [asepnoerjaman](https://profiles.wordpress.org/asepnoerjaman/) 2021 年 8 月 13 
日

I love this plugin because it is so simple, but it does what it is supposed to do.

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/basic-banner/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Basic Banner〉的開發相關工作。

參與者

 *   [ hisman ](https://profiles.wordpress.org/hisman/)

[將〈Basic Banner〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/basic-banner)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/basic-banner/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/basic-banner/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/basic-banner/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/basic-banner/)。

## 變更記錄

#### 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.

## 中繼資料

 *  版本 **1.1.3**
 *  最後更新 **5 年前**
 *  啟用安裝數 **40+**
 *  WordPress 版本需求 ** 4.5 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.7.15**
 *  語言
 * [English (US)](https://wordpress.org/plugins/basic-banner/)
 * 標籤:
 * [banner](https://tw.wordpress.org/plugins/tags/banner/)
 *  [進階檢視](https://tw.wordpress.org/plugins/basic-banner/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/basic-banner/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/basic-banner/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/basic-banner/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/basic-banner/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/basic-banner/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/basic-banner/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/basic-banner/reviews/)

## 參與者

 *   [ hisman ](https://profiles.wordpress.org/hisman/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/basic-banner/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.me/hismansaputra)