# README #

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

### What is this repository for? ###

* 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
* Version: V1.2.9


### Who do I talk to? ###

* Paulo <paulo@datacake.com.br>
* https://datacake.com.br/