Title: Announcement Banner
Author: agehman
Published: <strong>15 Tháng 5, 2020</strong>
Last modified: 1 Tháng 7, 2022

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/announcement-banner.svg)

# Announcement Banner

 Bởi [agehman](https://profiles.wordpress.org/agehman/)

[Tải về](https://downloads.wordpress.org/plugin/announcement-banner.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/announcement-banner/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/announcement-banner/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/announcement-banner/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/announcement-banner/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/announcement-banner/)

## Mô tả

The Announcement Banner plugin displays a notification banner at the top or bottom
of your website. The settings page allows the user to set the banner to either fixed
or relative position, choose background and text color, make the text linkable, 
toggle the banner on and off, add a close button, and even add custom CSS.

### Announcement Banner Features

 * Choose the background color and text color of the announcement banner.
 * Display the banner at the top or bottom of the page in fixed or relative position.
 * Add an optional ‘Close’ button to the banner.
 * Close Button Duration setting that keeps the banner closed for a custom number
   of days.
 * Set a fixed banner height in pixels.
 * Custom message including HTML tags.
 * Link the entire banner text (optional)
 * Toggle the banner on and off.
 * Add your own custom CSS.

### Plugin Settings

 * Show Announcement Banner – Turn the Announcement Banner on (Yes) and off (No)
   as needed. The banner will be off by default when installed.
 * Announcement Banner Position -The fixed setting will pin the banner to the top
   of the screen. It will stay pinned to the top even when scrolling. Relative will
   keep the banner in its normal position and it will scroll with the page.
 * Announcement Banner Placement – The default Announcement Banner placement is 
   at the top.
 * Background Color and Text Color – This field will accept Hex code (Ex: #000000)
   or supported color name (Ex: black). Default background color is white. (#FFF)
   Default text color is dark gray. (#333)
 * Banner Height – Add a fixed height in pixels to the banner.
 * Top Padding – Add top padding the body element when the Announcement Banner is
   displayed. This can be useful when the banner is set to position: fixed.
 * Close Button – The close button will hide the banner on click. The button will
   appear on the right side of the banner.
 * Close Button Duration – Set the amount of days the banner until the banner reappears
   after the user clicks the close button.
 * Announcement Banner Message – Enter your text for your announcement. HTML is 
   allowed.
 * Make Message a Link? – Make the full text of the announcement banner message 
   a link.
 * Link URL – URL for the message link. This will only work if Make Message a Link
   setting is set to Yes.
 * Custom CSS – Add your own custom CSS.

## Cài đặt

 1. Install the Announcement Banner plugin either via the WordPress plugin directory,
    or by uploading the files to the /wp-content/plugins/ directory.
 2. Activate the plugin in the Plugins page in WordPress.
 3. The Settings page for Announcement Banner can be found in the admin menu under 
    Settings > Announcement Banner.

## Hỏi đáp

### Announcement Banner Doesn’t Show Up

Check the Show Announcement Banner setting and make sure it is set to “Yes.” The
Announcement Banner is off by default. If the banner is on, check to see that you
have set some text in the Announcement Banner Message field.

### Announcement Banner is at the bottom even though I have Announcement Banner Placement set to top

Check for any Javascript errors in the console. There may be a conflict.

### The WordPress Admin bar is hiding part of my banner when I have it set to fixed at the top

Try adding the following to the Custom CSS field:

.admin-bar.minddnd-wa-announcement-fixed-top .minddnd-wa-announcement-wrap {
 top:
32px; }

@media only screen and (max-width: 782px) {
 .admin-bar.minddnd-wa-announcement-
fixed-top .minddnd-wa-announcement-wrap { top: 46px; } }

## Đánh giá

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

### 󠀁[DON’T INSTALL IT : crashed my website](https://wordpress.org/support/topic/dont-install-it-crashed-my-website/)󠁿

 [nihils](https://profiles.wordpress.org/nihils/) 13 Tháng 5, 2023

Plugin installation crashed my website. Was able to restore it but don't know the
consequences.

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

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-9569/)󠁿

 [angeljs](https://profiles.wordpress.org/angeljs/) 27 Tháng 10, 2022

Does exactly what I want without any bloated and uneccesary options, I love it!

 [ Đọc tất cả 2 đánh giá ](https://wordpress.org/support/plugin/announcement-banner/reviews/)

## Người đóng góp & Lập trình viên

“Announcement Banner” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

[Dịch “Announcement Banner” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/announcement-banner)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/announcement-banner/), check
out [SVN repository](https://plugins.svn.wordpress.org/announcement-banner/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/announcement-banner/)
qua [RSS](https://plugins.trac.wordpress.org/log/announcement-banner/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.0

 * This is the initial version.

#### 1.0.1

 * Fixed issue with relative position at the bottom of the page when close button
   is enabled.

#### 1.1.0

 * Added close button duration optional setting to prevent banner from reappearing
   for a set number of days after a uses closes the banner.

#### 1.2.0

 * Added box-sizing:border-box to prevent banner from extending outside the viewport
   on themes without a universal box-sizing: border-box value setting.

## Meta

 *  Phiên bản **1.2.0**
 *  Cập nhật lần cuối **4 năm trước**
 *  Số lượt cài đặt **100+**
 *  Phiên bản WordPress ** 4.7 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.0.18**
 *  Phiên bản PHP ** 7.0 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/announcement-banner/)
 * Thẻ
 * [announcement](https://vi.wordpress.org/plugins/tags/announcement/)[banner](https://vi.wordpress.org/plugins/tags/banner/)
   [bar](https://vi.wordpress.org/plugins/tags/bar/)[notice](https://vi.wordpress.org/plugins/tags/notice/)
   [notification](https://vi.wordpress.org/plugins/tags/notification/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/announcement-banner/advanced/)

## Đánh giá

 3 trên 5 sao.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/announcement-banner/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/announcement-banner/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/announcement-banner/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/announcement-banner/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/announcement-banner/reviews/?filter=1)

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/announcement-banner/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/announcement-banner/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.minddnd.com/)