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
| /* To disable the Gutenberg’s CSS loading on the front-end */ | |
| function tw_unload_files() { | |
| wp_dequeue_style ( 'wp-block-library' ); | |
| wp_dequeue_style ( 'wp-block-library-theme' ); | |
| } | |
| add_action( 'wp_enqueue_scripts', 'tw_unload_files', 100 ); | |
| /* To disable Elementor’s Google font */ |
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
| //estimated reading time | |
| function reading_time() { | |
| $content = get_post_field( 'post_content', $post->ID ); | |
| $word_count = str_word_count( strip_tags( $content ) ); | |
| $readingtime = ceil($word_count / 200); | |
| if ($readingtime == 1) { | |
| $timer = " minuto"; | |
| } else { | |
| $timer = " minutos"; |
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
| .col4-blog .et_pb_salvattore_content[data-columns]::before { | |
| content: '4 .column.size-1of4' !important; | |
| } | |
| @media only screen and ( min-width: 981px ) { | |
| .col4-blog .column.size-1of4 { | |
| width: 24%!important; | |
| margin-right: 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
| .col3-blog .et_pb_salvattore_content[data-columns]::before { | |
| content: '3 .column.size-1of3' !important; | |
| } | |
| @media only screen and ( min-width: 981px ) { | |
| .col3-blog .column.size-1of3 { | |
| width: 32% !important; | |
| margin-right: 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
| <script type='text/javascript' src='https://code.jquery.com/jquery-git.min.js'></script> | |
| <script type='text/javascript'> | |
| jQuery(document).ready(function ($) { | |
| $("img").removeAttr("height width"); | |
| }); | |
| </script> |
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
| <select size="1" name="jumpit" onchange="document.location.href=this.value"> | |
| <option selected value="">Selecione ...</option> | |
| <?php | |
| $args = array('post_type' => 'artigo', 'posts_per_page' => -1, 'order' => 'ASC'); | |
| $loop = new WP_Query($args); | |
| while ($loop->have_posts()) : $loop->the_post(); ?> | |
| <option value="<?php the_permalink(); ?>"><?php the_title(); ?></option> | |
| <?php endwhile; ?> | |
| </select> |
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
| [Fri Dec 01 23:50:05.039136 2017] [:error] [pid 2498] [client 192.168.0.23:53686] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/stevebiko.net/public_html/wp-content/plugins/cielo-woocommerce/cielo-woocommerce.php on line 78, referer: https://stevebiko.net/ | |
| [Fri Dec 01 23:50:05.112429 2017] [:error] [pid 2500] [client 200.153.173.77:7201] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/stevebiko.net/public_html/wp-content/plugins/cielo-woocommerce/cielo-woocommerce.php on line 78, referer: https://stevebiko.net/acessibilidade/ | |
| [Fri Dec 01 23:50:05.598431 2017] [:error] [pid 2496] [client 192.168.0.23:53684] PHP Warning: include_once(/var/www/stevebiko.net/public_html/wp-content/plugins/cielo-woocommerce/includes): failed to open stream: No such file or directory in /var/www/stevebiko.net/public_html/wp-content/plugins/cielo-woocommerce/includes/class-wc-cielo-api.php on line 76 | |
| [Fri Dec 01 23:50:05.598622 2017] [:error] |