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
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background-color: #eaeaea; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background-color: #b0b0b0; | |
| border-radius: 6px; | |
| cursor: pointer; |
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
| $(document).ready(function() { | |
| $('a[href^="#"]').on('click',function (e) { | |
| e.preventDefault (); var target = this.hash, | |
| $target = $(target); $('html, body').stop().animate ({ | |
| 'scrollTop': $target.offset().top | |
| }, 1000, 'swing', function () { | |
| window.location.hash = target; | |
| }); | |
| }); | |
| }); |
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
| href="javascript: history.go(-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
| <!-- A ideia é essa , colocar como uma div fora da seção e adicionar os espaço para quando rolar o menu, ficar certinho | |
| em cima da seção! :D --> | |
| #o-espaco{ | |
| height: 140px; | |
| width: 100%; | |
| margin-top: -140px; | |
| } |
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
| // Definimos o gatilho 'youtube' para a função 'shortcode_youtube' | |
| add_shortcode('caixa', 'short_code'); | |
| // Função que retorna o HTML pelo Shotcode | |
| function short_code($atts, $content=null) | |
| { | |
| extract( | |
| shortcode_atts( | |
| array( |
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[href*=#]').each(function () { | |
| if (filterPath(location.pathname) == filterPath(this.pathname) | |
| && location.hostname == this.hostname | |
| && this.hash.replace(/#/, '')) { | |
| var $targetId = $(this.hash), $targetAnchor = $('[name=' + this.hash.slice(1) + ']'); | |
| var $target = $targetId.length ? $targetId : $targetAnchor.length ? $targetAnchor : false; | |
| if ($target) { | |
| var targetOffset = $target.offset().top; | |
| $(this).click(function () { | |
| if($(window).width() > 200){ |
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 $firstMarked = false; ?> | |
| <?php if ( have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post(); ?> | |
| <dt class="collapsible-title <?php echo !$firstMarked ? "is-active":"";?>"> | |
| <h1><?php the_field('titulo1_video'); ?></h1> | |
| <h2><?php the_field('titulo2_video'); ?></h2> | |
| </dt> | |
| <dd class="collapsible-content"> |
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 | |
| $args = array( | |
| 'orderby' => 'name', | |
| 'parent' => 0 | |
| ); | |
| $categories = get_categories( $args ); | |
| foreach ( $categories as $category ) { | |
| echo '<a href="' . get_category_link( $category->term_id ) . '">- ' . $category->name . ' -</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
| <?php | |
| global $post; | |
| $categoria = get_the_category($post->id); | |
| $nomeCategoria = $categoria[0]->cat_name; | |
| echo $nomeCategoria; | |
| ?> |
OlderNewer