- ACF Pro
- Contact Form 7
- Custom Post Type UI
- Google Analytics Dashboar for WP
- Nested Pages
- Snazzy Maps
- Yoast SEO
- WP Smushit
- WP Super Cache
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
| .wpcf7-checkbox, .radio { | |
| display: block; | |
| margin: 10px 0 0; | |
| .wpcf7-list-item { | |
| display: block; | |
| input[type=checkbox], input[type=radio] { | |
| display: none; |
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
| $('.panel-collapse').on('show.bs.collapse', function () { | |
| $(this).siblings('.panel-heading').addClass('active'); | |
| }); | |
| $('.panel-collapse').on('hide.bs.collapse', function () { | |
| $(this).siblings('.panel-heading').removeClass('active'); | |
| }); |
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 $current_user; if ( isset($current_user) ) { echo "Seja bem-vindo, "; echo $current_user->user_login; } ?> | |
| <?php global $user_ID; | |
| if($user_ID) { | |
| echo '<class="login"><a href="' . site_url('minha-conta/logout/', 'login') . '">' . __('(Sair)', 'atahualpa') . '</a>'; | |
| } else { | |
| echo '<class="login"><a href="' . site_url('minha-conta/', 'login') . '">' . __('Faça seu Login', 'atahualpa') . '</a>'; | |
| } ?> | |
| <?php global $current_user; if ( isset($current_user) ) { echo "ou "; } ?> | |
| <?php global $user_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
| # Global | |
| ._* | |
| *.log | |
| .AppleDouble | |
| .DS_Store | |
| .localized | |
| .LSOverride | |
| .Spotlight-V100 | |
| .Trashes | |
| Icon |
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
| UPDATE wp_options SET option_value = replace(option_value, 'http://url-antiga.com.br', 'http://url-nova.com.br') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
| UPDATE wp_posts SET guid = replace(guid, 'http://url-antiga.com.br','http://url-nova.com.br'); | |
| UPDATE wp_posts SET post_content = replace(post_content, 'http://url-antiga.com.br', 'http://url-nova.com.br'); |
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(){ | |
| // Event Click in whatever tag HTML | |
| $( '#section' ).click(function(event){ | |
| event.stopPropagation(); | |
| $( '.button' ).toggleClass('open'); | |
| }); | |
| // Function click out and close function up | |
| $( document ).click( function() { | |
| var btn = $( '.button' ); |
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
| body input[type=text].wpcf7-not-valid, | |
| body input[type=email].wpcf7-not-valid, | |
| body input[type=tel].wpcf7-not-valid, | |
| body textarea.wpcf7-not-valid { | |
| border: 1px solid #ec3c06; | |
| } | |
| body span.wpcf7-not-valid-tip { | |
| background: none; | |
| border: none; |
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 | |
| /** | |
| * Espeficicar por padrão. | |
| */ | |
| if( $post->post_parent !== 0 ) { | |
| get_template_part('page', 'child'); | |
| } else { | |
| get_template_part('page', 'default'); | |
| } | |
| ?> |
NewerOlder