This file contains 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
.whatsapp { | |
position: fixed; | |
bottom: 50px; | |
right: 50px; | |
z-index: 2; | |
box-sizing: border-box; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 50px; |
This file contains 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
var debitCard = new Card({ | |
form: '.payment_method_cielo_debit', | |
container: '.payment_method_cielo_debit.payment_box', | |
formSelectors: { | |
numberInput: '#cielo-card-number', | |
expiryInput: '#cielo-card-expiry', | |
cvcInput: '#cielo-card-cvc', | |
nameInput: '#cielo-card-holder-name' | |
}, | |
formatting: false, |
This file contains 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
// Instanciando em variáveis os elementos que vou precisar usar no rodapé. | |
productBody = document.querySelector('body') | |
productImageURL = document.querySelector('.product__image').src | |
productNameText = document.querySelector('.productName').innerText | |
buyButton = document.querySelector('.product__add-to-cart') | |
productPriceText = document.querySelector('.skuBestPrice').innerText.split('R$ ')[1] | |
// Criando os elementos que compõem o rodapé | |
productFooter = document.createElement('footer') | |
productFooterContainer = document.createElement('div') |
This file contains 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
{ | |
"nodes": [ | |
{ | |
"id": "n0", | |
"label": "A node", | |
"x": 0, | |
"y": 0, | |
"size": 3 | |
}, | |
{ |
This file contains 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 | |
function shortcode_mostra_produtos ( $atts ) { | |
$atts = shortcode_atts( array( | |
'default' => '' | |
), $atts ); | |
$terms = get_terms('linhas'); | |
wp_reset_query(); | |
$args = array('post_type' => 'produtos', |