=== Datacake Core ===
Contributors: https://profiles.wordpress.org/datacake/,
Donate link: http://www.datacake.com.br
Tags: provedores, redirects, isp, internet, service, provider, providers
Requires at least: 3.0.1
Tested up to: 5.9.2
Requires PHP: 7.4
Stable tag: 1.2.11
Last Tag: 1.2.10
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Plugin made by datacake to allow redirects between city based on a cookie.
Also linking our Saas product with the wordpress plugin for more information

== Description ==

This is a Wordpress plugin, for Datacake clients and other customers who would like the functionalities
Based on the City you can create page redirects to show the correct page 
- shortcodes: <--- Vai criar o formulario de cobertura
dk_city_cobertura
    Atributes of the shortcode:
    'success' => '😊🎉✔<br>Temos cobertura em sua cidade',
    'error' => 'Infelizmente sua cidade não tem cobertura ainda.<br>Qualquer dúvida entre em contato.',
    'assine_url' => '/assine'
dk_city_list <--- This will create a list of all the cities on the system
    Atributes of the shortcode:
    'list_class' => 'g-cols via_flex valign_top type_default',
    'list_item_class' => 'vc_col-sm-{{col}} wpb_column vc_column_container',
    'col' => 3,
    'include_neighborhood' => false,
dk_city_select <--- This will create a select with a button to save the cookie
    Atributes of the shortcode:
    'display_field' => 'name',
    'group_class' => 'form-group',
    'group_id' => 'choosecity-formgroup',
    'name' => 'in-cities',
    'select-class' => 'form-control',
    'btn_id' => 'chooseCitySubmit',
    'btn_class' => 'btn btn-outline-primary text-white',
    'btn_text' => 'Continuar',
    'ignore_neighborhood' => false,
    'auto_select' => false
dk_city_pin <--- This will create a pin with information of the selected city
    Atributes of the shortcode
    'class' => 'pin-city',
    'class-marker' => 'fa fa-map-marker',
    'class-dropdown' => 'fa fa-chevron-down'
- widgets:
City SEO, this will replicate a text changing the city in the text for SEO purposes

== Installation ==

This section describes how to install the plugin and get it working.

e.g.

1. Upload `datacake_core.php` to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Place `<?php do_action('plugin_name_hook'); ?>` in your templates

== Frequently Asked Questions ==

= Do i need a Datacake account to make it work? =

No redirect logic based on the city is not required to be linked with Datacake system

== Screenshots ==

1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets
directory take precedence. For example, `/assets/screenshot-1.png` would win over `/tags/4.3/screenshot-1.png`
(or jpg, jpeg, gif).
2. This is the second screen shot

== Changelog ==

= 1.1 =
* Fixing a few bugs


= 1.0 =
* All configurations Working


== Upgrade Notice ==

= 1.1 =
* Fixing a few bugs, should not break anything, you may need to re-save the configurations

= 1.0 =
* No upgrade Notice yet

== Arbitrary section ==

If you want you can have a datacake subscriptions to increase the use of this plugin with more features.

