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
window.onload = function() { | |
$.ajaxSetup({ cache: false }); | |
$(".galery").on('click', function(event) { | |
event.preventDefault(); | |
var post_id = $(this).attr("rel"); | |
$("#lightbox").fadeIn("fast"); |
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
// class dos links que vão receber o click | |
$(".link-menu").on("click", function(event){ | |
// a animação vai ocorrer no html, body | |
$('html, body').animate({ | |
// pega o atributo href do this (link que recebeu o click) | |
// e faz a animação com velocidade 1000 para o destino do href; | |
scrollTop: $($(this).attr("href")).offset().top |
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
{ | |
"bold_folder_labels" : true, | |
"caret_style" : "phase", | |
"color_scheme" : "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme", | |
"fade_fold_buttons" : false, | |
"find_selected_text" : true, | |
"font_size" : 13, | |
"highlight_line" : true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": |
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
[{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", | |
"Capixaba", | |
"Cruzeiro do Sul", |
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 if ( $_SERVER['REQUEST_METHOD'] == "POST" ){ | |
send_contact_form(); # envia o form | |
} else { | |
?> | |
<form action="" method="post" id="form-contato" class="form"> | |
<div class="col-md-4"> | |
<div class="input-group"><input type="text" name="nome" class="form-control" placeholder="Nome"></div> | |
<div class="input-group"><input type="text" name="email" class="form-control" placeholder="E-mail"></div> | |
<div class="input-group"><input type="text" name="telefone" class="form-control" placeholder="Telefone" id="telefone" maxlength="15"></div> | |
<div class="input-group"><input type="text" name="cpf_cnpj" class="form-control" placeholder="CPF ou CNPJ"></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
/* Simulador */ | |
#wc-correios-simulator { | |
} | |
/* Título do simulador */ | |
#wc-correios-simulator strong { | |
} |
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
*, | |
*:after, | |
*:before { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
/* CLEAR */ | |
.clearfix() { |
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 | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
*/ | |
$args = array( |
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 | |
$loop = new WP_Query( | |
array( | |
'post_type' => 'evento', | |
'ignore_sticky_posts' => 1, | |
'posts_per_page' => 2, | |
'paged' => $paged | |
) | |
); |
OlderNewer