Can't make excerpts show on static front page Adamos theme
-
The Adamos theme shows excerpts only in search results. This is set up in content.php.
<?php if ( is_search() ) : // Only display Excerpts for Search ?> <div class="entry-summary"> <?php the_excerpt(); ?> </div><!-- .entry-summary -->
So in my child theme’s content.php, I changed this to
<?php if ( is_search() || is_home() || is_front_page() )
While this did change full posts to excerpts for home (which is not the front page), it didn’t change the two posts on the static front page to excerpts.
I also tried
<?php if ( is_search() || is_home() || is_page_template( 'page_templates/custom_home.php' ) )
That still didn’t give me excerpts on the static front page. I tried other options as well, but I’m having no luck. Anyone have any ideas?
Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can't make excerpts show on static front page Adamos theme’ is closed to new replies.