Using Excerpts Summarized in Home Without Using Tag
-
Hello Friend, Could Help? I would like to Use Excerpts in My Home Automatica so, can you tell me how to do this without having to use the editor and use the “more” tag I’m currently using this page to open the Home – What you need to do to open only in excerpts, could help me with this code? Thank you, and congratulations on your theme, here bo Brazil is a success.
Codigo:
<?php /** content-aside.php * * The template for displaying posts in the Aside Post Format on index and archive pages * * Learn more: https://codex.www.ads-software.com/Post_Formats * * @author Konstantin Obenland * @package The Bootstrap * @since 1.0 - 07.02.2012 */ tha_entry_before(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php tha_entry_top(); ?> <header class="page-header"> <hgroup> <?php the_title( '<h2 class="entry-title"><a href="' . get_permalink() .'" title="' . sprintf( esc_attr__( 'Permalink to %s', 'the-bootstrap' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark">', '</a></h2>' ); ?> <h3 class="entry-format"><?php echo get_post_format_string( get_post_format() ); ?></h3> </hgroup> </header><!-- .entry-header --> <?php if ( is_search() ) : // Only display Excerpts for Search ?> <div class="entry-summary clearfix"> <?php the_excerpt(); ?> </div><!-- .entry-summary --> <?php else : ?> <div class="entry-content clearfix"> <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'the-bootstrap' ) ); the_bootstrap_link_pages(); ?> </div><!-- .entry-content --> <?php endif; ?> <footer class="entry-footer"> <?php the_bootstrap_posted_on(); ?> </footer><!-- .entry-footer --> <?php tha_entry_bottom(); ?> </article><!-- #post-<?php the_ID(); ?> --> <?php tha_entry_after(); /* End of file content-aside.php */ /* Location: ./wp-content/themes/the-bootstrap/partials/content-aside.php */
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Using Excerpts Summarized in Home Without Using Tag’ is closed to new replies.