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
| ///////////////////////// woocommerce_checkout_fields | |
| /* This is not meant to be here, but it serves as a reference | |
| of what is possible to be changed. | |
| $defaults = array( | |
| 'type' => 'text', | |
| 'label' => '', | |
| 'description' => '', | |
| 'placeholder' => '', | |
| 'maxlength' => false, |
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
| ul { | |
| list-style-type: none; | |
| text-align: center; | |
| } | |
| li { | |
| display: inline; | |
| } | |
| li:not(:last-child):after { |
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
| ($user->is_logged_in() ? $user->get('first_name') : 'Guest') |
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 lista_paginas_irmas($atts) { | |
| ob_start(); | |
| $a = shortcode_atts( array( | |
| 'id' => '', | |
| ), $atts ); | |
| global $post; | |
| $args = array( | |
| 'post_type' => 'page', | |
| 'posts_per_page' => -1, |
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
| $posts_page_id = get_option( 'page_for_posts'); | |
| $posts_page = get_page( $posts_page_id); | |
| $posts_page_title = $posts_page->post_title; | |
| $posts_page_url = get_page_uri($posts_page_id ); |
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
| add_action( 'init', function () { | |
| add_ux_builder_post_type( 'custom_post_type' ); | |
| } ); |
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
| /////////// Selectable Recipient with Pipes /////////////// | |
| [select your-recipient "CEO|ceo@example.com" | |
| "Sales|sales@example.com" | |
| "Support|support@example.com"] | |
| [_raw_{field name}] ( ex:[_raw_your-recipient] ) | |
| ////////// listar estados /////////// | |
| [select* estado include_blank "Acre" "Alagoas" "Amapá" "Amazonas" "Bahia" "Ceará" "Distrito Federal" "Espírito |
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
| //// FORM //// | |
| [dynamichidden titulo-pagina "CF7_get_post_var key='title'"] | |
| [dynamichidden url-pagina "CF7_URL"] | |
| //// MAIL //// | |
| [titulo-pagina] | |
| [url-pagina] |
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
| $(window).ready(function () { | |
| /*botão fixo*/ | |
| $(document).bind('load scroll', function () { | |
| var hT = $('#clear-footer').offset().top, | |
| hH = $('#clear-footer').outerHeight(), | |
| wH = $(window).height(), | |
| wS = $(this).scrollTop(); | |
| if (wS > (hT + hH - wH)) { | |
| $('#float-btn').removeClass('btn-fixed'); |