Title: Cookie Bar
Author: Brontobytes
Published: <strong>2016 年 6 月 30 日</strong>
Last modified: 2025 年 10 月 29 日

---

搜尋外掛

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

![](https://ps.w.org/cookie-bar/assets/icon-128x128.png?rev=1446263)

# Cookie Bar

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

[下載](https://downloads.wordpress.org/plugin/cookie-bar.2.2.zip)

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

 [技術支援](https://wordpress.org/support/plugin/cookie-bar/)

## 外掛說明

A simple, lightweight WordPress plugin for displaying a discreet notification bar
that is dismissable and the dismissal is saved by cookie. Perfect for implementing
the EU cookie law (GDPR)!

**The Cookie Bar plugin creates a small bar at the bottom of the website with a 
short customizable message about cookies and an accept button.** Once a visitor 
has accepted the Cookie Bar, it then disappears.

Feel free to try out the plugin through our installation of [Cookie Bar](https://www.brontobytes.com/blog/cookie-bar-free-wordpress-plugin/).

Troubleshooting: If you or your visitors are using an adblocker that can block cookie
bars, the bar may not show up. Whitelist your website in your adblocker’s browser
add-on/extension.

## 螢幕擷圖

 * [[
 * Plugin Settings screenshot-1.png
 * [[
 * Cookie Bar screenshot-2.png

## 安裝方式

Add the plugin by uploading the zip file to your WordPress admin area > Plugins 
> Add New or by installing it from the WordPress Plugin directory.
 Activate the
plugin and go to Settings > Cookie Bar. Configure it as you would like. Save. That’s
all!

## 使用者評論

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

### 󠀁[Simple, light, easy](https://wordpress.org/support/topic/simple-light-easy/)󠁿

 [markzoi](https://profiles.wordpress.org/markzoi/) 2025 年 5 月 10 日 1 則留言

It’s very hard to find a simple plugin like this (old school) now days they are 
all so annoying, this is what I need vs the all others!

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

### 󠀁[Wonderful easy solution](https://wordpress.org/support/topic/wonderful-easy-solution/)󠁿

 [LinuxArchitect](https://profiles.wordpress.org/linuxarchitect/) 2024 年 6 月 2
日 1 則留言

I’m a big fan of open source, especially when it is such a clean and easy solution
as compared to the dozens (hundreds?) of other options. This is a grand total of
410 lines of code to review for security and performance issues. I certainly could
have written this, but I’m so glad I did not have to… Now I just have to craft the
dang cookie-policy page itself. Hint: look at sites that have their policy pages
published under a Creative Commons license. I’m looking at you, Wikipedia. 345 1143
15143 cookie-bar.php 30 90 1150 js/cookie-bar.js 5 8 139 wpml-config.xml 30 58 556
css/cookie-bar.css 410 1299 16988 total

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

### 󠀁[Discrete, effective & so simple](https://wordpress.org/support/topic/discrete-effective-so-simple/)󠁿

 [180turnaroundmarketing](https://profiles.wordpress.org/180turnaroundmarketing/)
2023 年 10 月 26 日 1 則留言

This is by far, the best simple & discrete cookie compliance plugin. Love the color&
text customization options. I only wish that either the disclaimer text had adjustible
padding options so that compliance accessibility icons don’t obscure the text, or
even better, if it had an accessibility button built in to stay on screen even after
cookies are acknowledged.

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

### 󠀁[The plugin works great. It uses no third-party sites or memberships…](https://wordpress.org/support/topic/the-plugin-works-great-it-uses-no-third-party-sites-or-memberships/)󠁿

 [65Erik65](https://profiles.wordpress.org/65erik65/) 2022 年 12 月 4 日 1 則留言

It’s a really good plugin! It doesn’t use lots of resources or third-party sites
and I like that it’s open source. There are a couple of things I’d like to see: 
I would like to be able to set the bar to the middle of the screen. Change size 
of both the bar (wide & height). Change font size.

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

### 󠀁[Simple and Unobtrusive!](https://wordpress.org/support/topic/simple-and-unobtrusive-3/)󠁿

 [cats02nb](https://profiles.wordpress.org/cats02nb/) 2022 年 9 月 26 日

Exactly what I need! Glad you continue support of the plug-in.

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

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

 [Sten](https://profiles.wordpress.org/stentch/) 2021 年 4 月 23 日

I needed simple GDPR cookie bar and this plugin is the best + lightweight. U can
write any message to your visitors in any language with hyperlinks. U can set button
colour, but im very satisfied with default colors 🙂

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

## 參與者及開發者

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

參與者

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

[將〈Cookie Bar〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/cookie-bar)

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

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

## 變更記錄

#### Version 2.2

 1. PHP 8.4 check.

#### Version 2.1

 1. XSS vulnerability fix.

#### Version 2.0

 1. New expiration options. Choose between custom (in days) or never expire.
 2. New option to display the Cookie Bar at the top of your website.
 3. Three new colour options (Button Font Colour, Bar Background Colour, Bar Font Colour).
 4. New option to hide the Cookie Bar for logged in users.
 5. Cookie Bar Settings link added in Plugins page.
 6. Mobile optimisation.
 7. Text improvements.
 8. PHP bug fix.

#### Version 1.8.9

 1. Sanitize the output. Fix XSS vulnerability.

#### Version 1.8.7

 1. Bug fix v5.3.

#### Version 1.8

 1. Fix compatibility issue.

#### Version 1.7

 1. Added i18n internationalization support.

#### Version 1.6

 1. Attempt to resolve possible caching issue with cookie.

#### Version 1.5

 1. Color Picker added.

#### Version 1.4

 1. Option to change button colour.

#### Version 1.3.5

 1. Default values added.

#### Version 1.2

 1. Initial public release.

## 中繼資料

 *  版本 **2.2**
 *  最後更新 **7 個月前**
 *  啟用安裝數 **10,000+**
 *  WordPress 版本需求 ** 3.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  語言
 * [English (US)](https://wordpress.org/plugins/cookie-bar/)
 * 標籤:
 * [consent](https://tw.wordpress.org/plugins/tags/consent/)[cookie](https://tw.wordpress.org/plugins/tags/cookie/)
   [cookie bar](https://tw.wordpress.org/plugins/tags/cookie-bar/)[cookie compliance](https://tw.wordpress.org/plugins/tags/cookie-compliance/)
   [cookies](https://tw.wordpress.org/plugins/tags/cookies/)
 *  [進階檢視](https://tw.wordpress.org/plugins/cookie-bar/advanced/)

## 評分

 4.9 星，滿分為 5 星

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

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

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

## 參與者

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

## 技術支援

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

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