Title: Light Weight Cookie Popup
Author: Tushar Kapdi
Published: <strong>2018-06-27</strong>
Last modified: 2026-05-22

---

Szukaj wtyczek

![](https://ps.w.org/light-weight-cookie-popup/assets/banner-772x250.png?rev=1899909)

![](https://ps.w.org/light-weight-cookie-popup/assets/icon-256x256.png?rev=1899909)

# Light Weight Cookie Popup

 Autor: [Tushar Kapdi](https://profiles.wordpress.org/tusharkapdi/)

[Pobierz](https://downloads.wordpress.org/plugin/light-weight-cookie-popup.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/light-weight-cookie-popup/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/light-weight-cookie-popup/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/light-weight-cookie-popup/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/light-weight-cookie-popup/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/light-weight-cookie-popup/)

## Opis

**Try it out on your free dummy site: Click here => [https://tastewp.com/new?pre-installed-plugin-slug=light-weight-cookie-popup&redirect=options-general.php%3Fpage%3Dlwcp&ni=true](https://tastewp.com/new?pre-installed-plugin-slug=light-weight-cookie-popup&redirect=options-general.php%3Fpage%3Dlwcp&ni=true)**

**Light Weight Cookie Popup** where you can inform to users that your site uses 
cookies and to comply with the EU cookie law regulations.

#### Options

 * Message (optional)
 * Cookie Expiry (optional) : Default – 1 day
 * Country (Display within selected countries) (optional) : Default – All Countries
 * Position: Top/Bottom (optional) : Default – Bottom
 * Popup Padding (optional) : Default – 15px
 * Popup Background Color (optional) : Gray
 * Popup Text Color (optional) : Default – Black
 * Popup Font Size (optional) : Default – 13px
 * Hide Close Button (optional) : Default – Show
 * Close Button Text (optional) : Default – x
 * Hide Accept Button (optional) : Default – Show
 * Accept Button Text (optional) : Default – Ok
 * Accept Button Background Color (optional) : Default – inherited from button tag
 * Accept Button Text Color (optional) : Default – inherited from button tag
 * Accept Button Class (optional)
 * Hide Read More Link (optional) : Default – Show
 * Read More Color (optional) : Default – inherited from theme style
 * Read More Text (optional) : Default – Read more…
 * Read More Link (optional) : Default – #
 * Reamore Link Target (optional) : Default – _self
 * Reamore Link class (optional)
 * Multi language compatible
 * .pot file included for translations

#### Filters and Functions

The code would be placed in your theme functions.php file or a custom plugin.

Would you like to do something if cookie accepted

    ```
    <?php
    if ( function_exists('LWCP_cookie_accepted') && LWCP_cookie_accepted() ) {
        // Write your code here
    }
    ?>
    ```

This example for the override options by filtering 'lwcp_options_args’ filter.

    ```
    <?php
    function my_popup_options_args_filter( $options ) {
        // do something with $options
        return $options;
    }
    add_filter( 'lwcp_options_args', 'my_popup_options_args_filter', 10, 1 );
    ?>
    ```

This example for the override output by filtering 'lwcp_cookie_output’ filter.

    ```
    <?php
    function my_popup_output_filter( $output, $options ) {
        // do something with $output and $options
        return $output;
    }
    add_filter( 'lwcp_cookie_output', 'my_popup_output_filter', 10, 2 );
    ?>
    ```

#### More Information

 * For help use [wordpress.org](https://wordpress.org/support/plugin/light-weight-cookie-popup/)
 * Fork or contribute on [Github](https://github.com/tusharkapdi/light-weight-cookie-popup/)
 * Visit [our website](http://amplebrain.com/light-weight-cookie-popup/) for more
 * Follow me on [Twitter](http://twitter.com/tusharkapdi/)
 * View my other [WordPress Plugins](https://profiles.wordpress.org/tusharkapdi/)

#### Support

Did you enjoy this plugin? Please [donate to support ongoing development](http://amplebrain.com/donate/).
Your contribution would be greatly appreciated.

## Zrzuty ekranu

[⌊Popup options⌉⌊Popup options⌉[

Popup options

## Instalacja

 1. Download and extract the zip archive
 2. Upload 'light-weight-cookie-popup’ folder to '/wp-content/plugins/’
 3. Activate the plugin through the 'Plugins’ menu in WordPress
 4. Manage popup settings through the 'Light Weight Cookie Popup’ under the 'Settings’
    menu and configure the options as desired

## Najczęściej zadawane pytania

### Detail about Third Party API for country detection

Country is optional field and by default display popup on all countries and not 
access the Third Party API.
 If you set countries then only it will access the Third
Party API to get country name from IP Address. The API called 'ipinfo.io’ and Free
usage of API is limited to 1,000 API requests per day. Please find more inforamation
about API here – [https://ipinfo.io/developers#rate-limits](https://ipinfo.io/developers#rate-limits).

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„Light Weight Cookie Popup” jest oprogramowaniem open source. Poniższe osoby miały
wkład w rozwój wtyczki.

Zaangażowani

 *   [ Tushar Kapdi ](https://profiles.wordpress.org/tusharkapdi/)

[Przetłumacz wtyczkę “Light Weight Cookie Popup” na swój język.](https://translate.wordpress.org/projects/wp-plugins/light-weight-cookie-popup)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/light-weight-cookie-popup/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/light-weight-cookie-popup/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/light-weight-cookie-popup/)
przez [RSS](https://plugins.trac.wordpress.org/log/light-weight-cookie-popup/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.0

 * First release.

## Meta

 *  Wersja **1.0**
 *  Ostatnia aktualizacja **6 miesięcy temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 3.6 lub nowszej **
 *  Testowano do **7.0.8**
 *  Wersja PHP ** 5.2.4 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/light-weight-cookie-popup/)
 * Tagi
 * [cookie compliance](https://pl.wordpress.org/plugins/tags/cookie-compliance/)
   [GDPR](https://pl.wordpress.org/plugins/tags/gdpr/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/light-weight-cookie-popup/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/light-weight-cookie-popup/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/light-weight-cookie-popup/reviews/)

## Zaangażowani

 *   [ Tushar Kapdi ](https://profiles.wordpress.org/tusharkapdi/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/light-weight-cookie-popup/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](http://amplebrain.com/donate/)