Skip to content

Commit

Permalink
Merge pull request #51 from manualdousuario/2024-11
Browse files Browse the repository at this point in the history
Pequenas correções
  • Loading branch information
claromes authored Apr 13, 2024
2 parents 60a136a + ff73486 commit 4af4a2d
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 2,000 deletions.
16 changes: 14 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

if ( ! defined( '_S_VERSION' ) ) {
define( '_S_VERSION', '2.1.3' );
define( '_S_VERSION', '3.0.2' );
}

/**
Expand Down Expand Up @@ -160,6 +160,11 @@ function() {
wp_dequeue_style( 'stcr-style' );
wp_deregister_style( 'stcr-style' );

wp_dequeue_style( 'activitypub-followers-style' );
wp_deregister_style( 'activitypub-followers-style' );
wp_dequeue_style( 'activitypub-follow-me-style' );
wp_deregister_style( 'activitypub-follow-me-style' );

wp_dequeue_script( 'wp-polyfill-inert' );
wp_deregister_script( 'wp-polyfill-inert' );
wp_dequeue_script( 'regenerator-runtime' );
Expand Down Expand Up @@ -822,4 +827,11 @@ function dez_dark_mode_script() {
wp_enqueue_script( 'dez-dark-mode', get_template_directory_uri() . '/js/darkMode.min.js', array() );
}

add_action( 'wp_enqueue_scripts', 'dez_dark_mode_script' );
add_action( 'wp_enqueue_scripts', 'dez_dark_mode_script' );

/**
* Aumenta quantidade de itens nos feeds dos podcasts.
*/
add_filter('ssp_feed_number_of_posts', function(){
return 999;
});
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<div class="orbita-manual">
<h2>Destaques do Órbita</h2>
<?php echo do_shortcode( '[orbita-ranking comment-points="1" vote-points="3" days="10" limit="5"]' ); ?>
<footer class="entry-footer">
<footer class="entry-footer link-alt">
<a href="/orbita/">Todas as conversas &raquo;</a>
</footer>
</div>
Expand Down
Loading

0 comments on commit 4af4a2d

Please sign in to comment.