This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a:8:{i:0;a:8:{s:4:"name";s:9:"Service 1";s:11:"description";s:15:"test this thing";s:4:"type";s:6:"select";s:8:"position";i:0;s:7:"options";a:3:{i:0;a:5:{s:5:"label";s:9:"Service 1";s:5:"price";s:0:"";s:3:"min";s:0:"";s:3:"max";s:0:"";s:8:"duration";s:0:"";}i:1;a:5:{s:5:"label";s:9:"Service 2";s:5:"price";s:0:"";s:3:"min";s:0:"";s:3:"max";s:0:"";s:8:"duration";s:0:"";}i:2;a:5:{s:5:"label";s:9:"Service 3";s:5:"price";s:0:"";s:3:"min";s:0:"";s:3:"max";s:0:"";s:8:"duration";s:0:"";}}s:8:"required";i:1;s:34:"wc_appointment_hide_duration_label";i:0;s:31:"wc_appointment_hide_price_label";i:0;}i:1;a:8:{s:4:"name";s:8:"Option 1";s:11:"description";s:0:"";s:4:"type";s:11:"radiobutton";s:8:"position";i:1;s:7:"options";a:1:{i:0;a:5:{s:5:"label";s:15:"Add gel removal";s:5:"price";s:2:"10";s:3:"min";s:0:"";s:3:"max";s:0:"";s:8:"duration";s:0:"";}}s:8:"required";i:0;s:34:"wc_appointment_hide_duration_label";i:0;s:31:"wc_appointment_hide_price_label";i:0;}i:2;a:8:{s:4:"name";s:9:"Service 2";s:11:"description";s:0:"";s:4:"ty |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * As configurações básicas do WordPress. | |
| * | |
| * Esse arquivo contém as seguintes configurações: configurações de MySQL, Prefixo de Tabelas, | |
| * Chaves secretas, Idioma do WordPress, e ABSPATH. Você pode encontrar mais informações | |
| * visitando {@link http://codex.wordpress.org/Editing_wp-config.php Editing | |
| * wp-config.php} Codex page. Você pode obter as configurações de MySQL de seu servidor de hospedagem. | |
| * | |
| * Esse arquivo é usado pelo script ed criação wp-config.php durante a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function cart_redirect() { | |
| if ( is_cart() ) { | |
| wp_redirect( WC()->cart->get_checkout_url() ); | |
| } | |
| } | |
| add_action( 'init', 'cart_redirect', 9999 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Para utilizar o plugin faça o download pelo painel do WordPress ou faça upload por FTP na pasta wp-content/themes/. Depois, ative-o. | |
| Quando o plugin estiver ativado verifique se o tema já está na pasta wp-content/themes/. O nome da pasta do tema precisa ser igual ao endereço no GitHub. Exemplo: | |
| Link do GitHub: http://github.com/wpbrasil/odin/, nesse caso, o nome da pasta seria odin. | |
| Depois de verificado esses passos, vá até o seu repositório no GitHub, depois, entre na página de Settings do repositório, dentro dessa página, clique no link Webhooks & services. | |
| Dentro dessa página, clique em Add webhook. Uma caixa de confirmação de senha irá abrir, confirme e um formulário vai aparecer: | |
| Em Payload URL preencha com: | |
| http://ENDERECO_DO_SITE/wp-admin/admin-ajax.php?action=brasa_deploy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| echo odin_pagination( 2, 1, false, $variavel_com_o_query ); | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "E1 *": { | |
| "price": "5", | |
| "text": "Entregamos na sua região Quarta-feira as 14hrs" | |
| }, | |
| "E2 *": "5", | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "E1 *": "5", | |
| "E2 *": "5", | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // Copy any modified settings to `User/Emmet.sublime-settings` | |
| // otherwise modifications will not survive updates. | |
| // Path to folder where Emmet should look for extensions | |
| // http://docs.emmet.io/customization/ | |
| "extensions_path": "~/emmet", | |
| // Disable completions of HTML attributes | |
| // with this option disabled, you can get attribute list completions |