Como remover "Recent Posts" da página inicial?
-
Olá!
Instalei o tema Bose e tenho tudo o que preciso nele, a não ser o item “Recent Posts”, que é realmente desnecessário. Não há a opção de removê-lo nas opções do tema, então acredito que preciso alterar algo no código php, mas não sei como.
O arquivo home.php contém o código relativo a “Recent Posts”, e segue abaixo:
<?php get_header(); ?> <div id="primary" class="content-area col-md-12"> <div id="home-title"> <span><?php _e('Recent Posts','bose'); ?></span> </div> <main id="main" class="site-main" role="main"> <?php $count = 0; ?> <?php if ( have_posts() ) : ?> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php /* Include the Post-Format-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ do_action('bose-layout'); $count++; ?> <?php endwhile; ?> <?php echo "</div><!--.row-->"; ?> <?php bose_pagination(); ?> <?php else : ?> <?php get_template_part( 'content', 'none' ); ?> <?php endif; ?> </main><!-- #main --> </div><!-- #primary --> <?php get_footer(); ?>
Alguém sabe o que eu devo fazer? Obrigado!
Visualizando 4 respostas - 1 até 4 (de um total de 4)
Visualizando 4 respostas - 1 até 4 (de um total de 4)
- O tópico ‘Como remover "Recent Posts" da página inicial?’ está fechado para novas respostas.