=== WP Attention Click === Contributors: ilenstudio Tags: ad,ads,bar,notification,notify,top bar,click,ratio,message,notification Requires at least: 4.0 Tested up to: 5.2.2 Stable tag: 0.9.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html It allows to draw the attention of visitors in various ways == Description == **WP Attention Click** is a plugin that is focused on *capture the attention of the visitor of your page* before they leave him. The average number of visits at a global level is one 8 seconds, then this visit closes your website or another website goes. That the plugin does is for that visit to take one more action on your website before leaving. ------------ For this **WP Attention Click** uses 2 methods currently: - #### Bar It shows in the upper part of the page a bar where you can call the attention of the visitor, with the personalized button you can have them click in order to have an attention. A very used case is to increase social networks like Facebook, Instagram, etc... - #### Popup A picture appears on the content, this box makes the visitor read quickly what it is about to be able to read and click on the attention button. A widely used case has been used to promote a book or sell something. Both options have very similar but separate characteristics to be able to have different objectives, as both the Bar and the Popup have their options separately. **BAR** It has the following characteristics: >**Activete Bar** > >**Direction:** Choose the address where the bar appears > > #### Bar customizer - *Options to customize the bar to get attention* > >- Message you want to refer: You can add a small photo, > spaces, colors, and fonts. >- Background color >- Text color >- Padding up and/down > > #### Button Custom (Optional): *If you want to show the custom action button you must put this code in the editor `{{button}}`* >- Background color >- Text color >- Text of the button > > #### Action onClick: *Event configuration click to get attention* >- **Time to appear:** Time it takes for the bar to appear (in seconds) >- **Show again:** Time it returns to appear (in days) >- **Text clickeable:** *Active* The text of the bar will become a link. *Inactive* The text of the bar is not clickable but you can use the button as a clickable item. >- **Open link in a new page:** Open the link on a new page, if this option is not activated then open it on the same page. >- **Action:** *Url* By clicking on the action bar or button this redirects to a customizable URL here. *Whatsapp* Redirection to the WhatsApp application >- **Url** > > #### Advanced: *Advanced customization options* > - **Show in country:** Select the countries in which you want to display If the option is "All" or empty, then it will be shown in all countries. **Popup** It has the following characteristics: >**Activete Popup** > > #### Popup customizer: *Options to customize the popup to > get attention* > > - **Content of the popup:** You can add a small photo, spaces, colors, and fonts. > - **Background color** > - **Text color** > - **Padding** > > #### Button Custom (Optional): *If you want to show the > custom action button you must put this code in the editor `{{button}}`* > - **Background color** > - **Text color** > - **Text of the button** > > #### Action onClick: *Event configuration click to get attention* > - **Time to appear:** Time it takes for the popup to appear (in seconds) > - **Show again:** Time it returns to appear (in days) > - **Text clickeable:** *Active* The text of the bar will become a link. *Inactive* The text of the bar is not clickable, but you can use the button as a clickable item. > - **Open link in a new page:** Open the link on a new page, if this option is not activated then open it on the same page. > - **Url** > > #### Advanced: *Advanced customization options* > - **Show in country:** Select the countries in which you want to display If the option is "All" or empty, then it will be shown in all countries **Floating** *(Coming Soon)* == Installation == This section describes how to install the plugin and get it working. 1. Unzip the plugin to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. == Screenshots == 1. Bar options: among the most outstanding features that an action can have from a button or from the text. 2. Popup options: the most decatated thing that also has the possibility of showing itself only in certain countries. 3. Example bar: Show an example of how Bar is displayed on the website 4. Example popup: Show an example of how Popup is displayed on the website == Changelog == = 𝟏.𝟎 (πŸπŸŽπŸπŸ—-πŸŽπŸ—-𝟎𝟏) = * πŸŒ€ 𝙐π™₯π™™π™–π™©π™š: π™΅πš›πšŠπš–πšŽπš πš˜πš›πš” πšžπš™πšπšŠπšπšŽ πšŸπšŽπš›πšœπš’πš˜πš— 𝟷.𝟻.𝟸 * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: π™²πš›πšŽπšπš’πš 𝚝𝚎𝚑𝚝 πšžπš™πšπšŠπšπšŽ * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: π™½πš˜πš  πš’πš— πšπš‘πšŽ πšœπšŽπšπšπš’πš—πš πšπš˜πš˜πšπšŽπš› 𝚒𝚘𝚞 πšŒπšŠπš— πšŠπš•πšœπš˜ 𝚜𝚊𝚟𝚎 πšπš‘πšŽ 𝚍𝚊𝚝𝚊 * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: πš†π™Ώ π™²πš•πš’πšŒπš” πš—πšŠπš–πšŽ πšŒπš‘πšŠπš—πšπšŽπš β†’ πš†π™Ώ π™°πšπšπšŽπš—πšπš’πš˜πš— π™²πš•πš’πšŒπš” * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: π™Έπš πš’πšœ 𝚊𝚍𝚍𝚎𝚍 𝚝𝚘 πšπš‘πšŽ πš™πš•πšžπšπš’πš— 𝚝𝚘 πšŠπš— πš˜πš™πšπš’πš˜πš—πšœ.πš™πš‘πš™ πšœπšžπš‹πš–πšŽπš—πšž * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: π™½πšŽπš  πš’πšŒπš˜πš—πšœ πšπš˜πš› πš‹πšŠπš› πšŠπš—πš πš™πš˜πš™πšžπš™ πšπšŠπš‹πšœ * 🐞 π™π™žπ™­π™šπ™™: π™Ώπš˜πš™πšžπš™ πšŒπš˜πš—πšπšŽπš—πš 𝚠𝚊𝚜 πš—πš˜πš πš›πšŽπšœπš™πšŽπšŒπšπš’πš—πš πšπš‘πšŽ πš•πš’πš—πšŽ πš‹πš›πšŽπšŠπš”πšœ 𝚘𝚏 πšπš‘πšŽ πš‘πšπš–πš• πš˜πšžπšπš™πšžπš, πšπš‘πšŽ πš—πš•πŸΈπš‹πš› πšπšžπš—πšŒπšπš’πš˜πš— 𝚠𝚊𝚜 𝚊𝚍𝚍𝚎𝚍 = 𝟎.πŸ—.πŸ’ (πŸπŸ’-πŸŽπŸ–-πŸπŸŽπŸπŸ—) = * πŸŒ€ 𝙐π™₯π™™π™–π™©π™š: 𝙢𝙴𝙾 πš“πšŠπšŸπšŠπšœπšŒπš›πš’πš™πš πš•πš’πš‹πš›πšŠπš›πš’ 𝚠𝚊𝚜 πš’πš–πš™πš›πš˜πšŸπšŽπš πš πš’πšπš‘ 𝚊 πš—πšŽπš  πšŒπš˜πš˜πš”πš’πšŽ πšœπšžπš‹ πš•πš’πš‹πš›πšŠπš›πš’ πŸ‘¨πŸΌβ€πŸ’» * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: π™Έπš— πšπšŽπšŸπšŽπš•πš˜πš™πš–πšŽπš—πš πš–πš˜πšπšŽ πš—πš˜πš  𝚒𝚘𝚞 πš“πšžπšœπš πš‘πšŠπšŸπšŽ 𝚝𝚘 πšŠπšŒπšπš’πšŸπšŠπšπšŽ πŸ€“ πš’πš— πšπšŽπš‹πšžπš = πšπš›πšžπšŽ 𝚝𝚘 πšŠπšŒπšπš’πšŸπšŠπšπšŽ πš’πš, πš‹πšžπš πš’πš πš πš’πš•πš• 𝚞𝚜𝚎 πšπš‘πšŽ πš™πš›πš˜πšπšžπšŒπšπš’πš˜πš— πš–πš˜πšπšŽ * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: πšƒπš‘πšŽ πšŸπš’πšŽπš  𝚠𝚊𝚜 πš›πšŽπš–πš˜πšŸπšŽπš πš‹πšŽπšŒπšŠπšžπšœπšŽ πš’πš 𝚠𝚊𝚜 πš—πš˜πš πš—πšŽπšŒπšŽπšœπšœπšŠπš›πš’ 😎 𝚝𝚘 πšŒπš˜πšžπš—πš πšπš‘πšŽ πšŸπš’πšŽπš πšœ * 🐞 π™π™žπ™­π™šπ™™: π™²πš˜πš›πš›πšŽπšŒπšπš’πš˜πš—πšœ πšπš˜πš› πšŒπš˜πš˜πš”πš’πšŽπšœ, 𝙸 𝚠𝚊𝚜 πšŠπšŒπšŒπšŽπš™πšπš’πš—πš πš˜πš—πš•πš’ πš™πšŽπš› πš™πšŠπšπšŽ πšŠπš—πš πš—πš˜πš πšπš˜πš› πšπš‘πšŽ πšπšžπš•πš• πšπš˜πš–πšŠπš’πš— πŸ˜† = 𝟎.πŸ—.πŸ‘ (πŸπŸ‘-πŸŽπŸ–-πŸπŸŽπŸπŸ—) = * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: πš„πš™πšπšŠπšπšŽ πšπš›πšŠπš–πšŽπš πš˜πš›πš” πšŸπšŽπš›πšœπš’πš˜πš— 𝟷.5.1 * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: π™΄πš•πš’πš–πš’πš—πšŠπšπš’πš˜πš— 𝚘𝚏 πšπš‘πšŽ 'πš πš™πšŠπšŒ_πšŸπš’πšŽπš πšœ' πšπšŠπš‹πš•πšŽ, πš πš˜πšžπš•πš πš—πš˜πš πšŠπš™πš™πš•πš’ 𝚝𝚘 πšπš‘πšŽ πš™πšžπš›πš™πš˜πšœπšŽπšœ * 🐞 π™π™žπ™­π™šπ™™: πš†πš’πšπš‘ πšπš‘πšŽ πš—πšŽπš  πš™πš’πš‘πšŽπš• 𝟷.𝟻.𝟷 πšπš‘πšŽ πš—πšŠπš–πšŽ 𝚘𝚏 πšπš‘πšŽ πšŒπš‘πšŠπš—πšπšŽ πš˜πš™πšπš’πš˜πš— πš’πšœ πšπš‘πšŽ πšπš’πš‘πšŽπš πš™πš˜πšœπš -πšœπšŽπšπšπš’πš—πš * 🐞 π™π™žπ™­π™šπ™™: π™²πš˜πš›πš›πšŽπšŒπšπš’πš˜πš— πš’πš— πšœπšπš’πš•πšŽ πšπš˜πš› πšπš‘πšŽ πš‘πšŽπšŠπšπšŽπš› 𝚘𝚏 πšπš‘πšŽ πšŒπš˜πš—πšπš›πš˜πš• πš™πšŠπš—πšŽπš• = 𝟎.πŸ—.𝟐 (𝟏𝟐-πŸŽπŸ•-πŸπŸŽπŸπŸ—) = * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: πš„πš™πšπšŠπšπšŽ πšπš›πšŠπš–πšŽπš πš˜πš›πš” πšŸπšŽπš›πšœπš’πš˜πš— 𝟷.𝟺.8 = 𝟎.πŸ—.𝟏 (11-πŸŽπŸ•-πŸπŸŽπŸπŸ—) = * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: πš„πš™πšπšŠπšπšŽ πšπš›πšŠπš–πšŽπš πš˜πš›πš” πšŸπšŽπš›πšœπš’πš˜πš— 𝟷.𝟺.𝟼.𝟷 = 𝟎.πŸ— (𝟏𝟎-πŸŽπŸ•-πŸπŸŽπŸπŸ—) = * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: π™Έπš–πš™πš›πš˜πšŸπšŽπš–πšŽπš—πšπšœ πš’πš— πšœπšπš’πš•πšŽ πš‹πš’ πšπš›πšŠπš–πšŽπš πš˜πš›πš” πšžπš™πšπšŠπšπšŽ * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: πš„πš™πšπšŠπšπšŽ πšπš›πšŠπš–πšŽπš πš˜πš›πš” πšŸπšŽπš›πšœπš’πš˜πš— 𝟷.𝟺.𝟼 * 🐞 π™π™žπ™­π™šπ™™: π™²πš˜πš›πš›πšŽπšŒπšπš’πš˜πš— πš’πš— πšœπšπš’πš•πšŽ πšπš˜πš› πšπš‘πšŽ πš‘πšŽπšŠπšπšŽπš› 𝚘𝚏 πšπš‘πšŽ πšŒπš˜πš—πšπš›πš˜πš• πš™πšŠπš—πšŽπš• = 𝟎.πŸ–.πŸ“ (πŸπŸ’-πŸŽπŸ’-πŸπŸŽπŸπŸ—) = * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: π™°πšπšπšŽπš πš™πš’πš‘πšŽπš• πšπš›πšŠπš–πšŽπš πš˜πš›πš” 𝟷.𝟹.𝟺 = 𝟎.πŸ–.πŸ’ (πŸŽπŸ–-πŸŽπŸ’-πŸπŸŽπŸπŸ—) = * βž• π˜Όπ™™π™™: π™°πšπšπšŽπš πšπš‘πšŽ πš‹πšŠπš—πš—πšŽπš›, πšπš‘πšžπš–πš‹πš—πšŠπš’πš• πšŠπš—πš πšœπšŒπš›πšŽπšŽπš—πšœπš‘πš˜πš πš’πš–πšŠπšπšŽπšœ 𝚘𝚏 πšπš‘πšŽ πš™πš•πšžπšπš’πš— * βž• π˜Όπ™™π™™: π™°πšπšπšŽπš πšπš‘πšŽ πšπšŽπšœπšŒπš›πš’πš™πšπš’πš˜πš— πš’πš— πšπš‘πšŽ πšπš’πš•πšŽ readme.txt * βž• π˜Όπ™™π™™: πšƒπš‘πšŽ πšπš’πš•πšŽ 𝚠𝚊𝚜 𝚊𝚍𝚍𝚎𝚍 readme.md πšπš˜πš› πš’πš˜πšžπš› πšπšŽπšœπšŒπš›πš’πš™πšπš’πš˜πš— * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: πšƒπš‘πšŽ πšŠπšŒπšπš’πšŸπšŽ πšŸπšŠπš•πšžπšŽ 𝚘𝚏 πšπš‘πšŽ πš™πš˜πš™πšžπš™ πšœπšπšŠπš›πšπšœ πš‹πš’ πšπšŽπšπšŠπšžπš•πš: πšπšŠπš•πšœπšŽ * 🐞 π™π™žπ™­π™šπ™™: π™Ώπš˜πš™πšžπš™ πš‹πšžπšπšπš˜πš— 𝙸 πšŒπš‘πšŠπš—πšπšŽ πš’πš 𝚝𝚘 display:inline-block; * 🐞 π™π™žπ™­π™šπ™™: π™²πš˜πš›πš›πšŽπšŒπšπš’πš˜πš— 𝚝𝚘 πš‹πšŽ πšŠπš‹πš•πšŽ 𝚝𝚘 πšŠπš•πšπšŽπš› πšπš‘πšŽ πšπšŠπš‹πš•πšŽ 𝚘𝚏 πšπš‘πšŽ πšπšŠπšπšŠπš‹πšŠπšœπšŽ πš’πš— πš πš˜πš›πšπš™πš›πšŽπšœπšœ. π™Ύπšπš‘πšŽπš› πšπšŽπšŒπš‘πš—πš’πššπšžπšŽπšœ πš πšŽπš›πšŽ 𝚞𝚜𝚎𝚍 𝚝𝚘 πšŠπšŒπš‘πš’πšŽπšŸπšŽ πšπš‘πš’πšœ πšπš˜πšŠπš•. * 🐞 π™π™žπ™­π™šπ™™: πš„πšœπšŽ 𝚘𝚏 ALTER TABLE πš‹πš’ πš–πšŽπšŠπš—πšœ 𝚘𝚏 πšπš‘πšŽ πšŸπšŠπš›πš’πšŠπš‹πš•πšŽ $͎w͎p͎d͎b͎ = 𝟎.πŸ– (πŸŽπŸ–-πŸŽπŸ’-πŸπŸŽπŸπŸ—) = * πŸ†• π™‰π™šπ™¬: Popup attention click: πš‚πš‘πš˜πš  𝚊 πš™πš˜πš™πšžπš™ πšŠπš—πš πšŒπš˜πš—πšπš›πš˜πš• πšπš‘πšŽ πšŠπšπšπšŽπš—πšπš’πš˜πš— 𝚘𝚏 πš’πš˜πšžπš› πšŸπš’πšœπš’πšπš˜πš›πšœ. * πŸ†• π™‰π™šπ™¬: πšπšŽπšŒπš˜πš›πš πšŸπš’πšŽπš  𝚘𝚏 πšπš‘πšŽ πšŠπšπšπšŽπš—πšπš’πš˜πš— πšŒπšŠπš•πš•πšŽπš›πšœ (πš‹πšŠπš›, πš™πš˜πš™πšžπš™). πšƒπš‘πš’πšœ πšœπšŽπš›πšŸπšŽπšœ 𝚝𝚘 πš•πšŠπšπšŽπš› πšŒπšŠπš•πšŒπšžπš•πšŠπšπšŽ πšπš‘πšŽ π™²πšƒπš. * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: π™Έπš–πš™πš›πš˜πšŸπšŽπš–πšŽπš—πšπšœ πš’πš— πšπš‘πšŽ πšπšžπš—πšŒπšπš’πš˜πš— 𝚘𝚏 πšπšŽπš—πšŽπš›πšŠπšπš’πš—πš 𝚌𝚜𝚜 wpac_generate_css * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: π™Όπš’πš—πš’πšπš’πšŽπš πšπš’πš•πšŽπšœ (𝚌𝚜𝚜/πš“πšœ) * 🐞 π™π™žπ™­π™šπ™™: π™²πš˜πš›πš›πšŽπšŒπšπš’πš˜πš— πš’πš— πšπš‘πšŽ πš•πšŠπš‹πšŽπš•πšœ = 0.7 (07-04-2019) = * πŸ”œ 𝓒𝓸𝓸𝓷 πŸ•Ί: Add the possibility of a popup to draw attention and click * βž• π˜Όπ™™π™™: New field in the database type_click lets know the type of click that is given (bar,popup, content, etc..) * βž• π˜Όπ™™π™™: Creation of new class 'pf_geo', it serves as a standard to be able to obtain all geo data of an apartar * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: Minified files (css/js) * ⏱ 𝙄𝙒π™₯π™§π™€π™«π™š: Update of the version of changes of the base 0.3.1 = 0.6 (02-04-2019) = * βž• Add: Option Show in country Select the countries in which you want to display, If the option is "All" or empty, then it will be shown in all countries * ⏱ Improve: The 'Support' button was added within the plugin administration * ⏱ Improve: Update framework version 1.3.2 = 0.5 (01-04-2019) = * 🐞 Fixed: AJAX was not running in the public domain, added the wp_ajax_nopriv = 0.4.1 (31-03-2019) = * 🐞 Fixed: Correction in the label of the option "to appear again". = 0.4 (31-03-2019) = * πŸ†• New: Name change to the plugin WP Attention Click β†’ WP Click. * βž• Add: Table in the database {$prefix}_wpac_clicks to record all the clicks that were made. * βž• Add: File added wpac-plugins.js where new functionalities are manipulated. * βž• Add: Se agrego la clase GEO con esto podemos saber con claridad de donde vino el click dado. = 0.3 (29-03-2019) = * βž• Add: Mode Text: this makes the bar always show for test purposes. * ⏱ Improve: Update pixel framework 1.3.1 * ⏱ Improve: The name of namespace to one more descriptive to avoid conflicts with other plugins. = 0.2 (28-03-2019) = * πŸ†• New: Release! * βž• Add: Minified files (css/js) for the back-end and front-end * ⏱ Improve: Update framework pixel 1.3 * ⏱ Improve: Add validation variable in development mode or not * 🐞 Fixed: Notice correction. = 0.1 (21-03-2019) = πŸ†• New: Start of plugin development