Support » Themes and Templates » Home Page Not Showing Excerpts

  • Resolved reelbump

    (@reelbump)


    Hello,

    I have been editing and testing to no avail. I am attempting to have my home page display the post excerpt I manually enter instead of the full post.

    I’ve edited the “content-standard.php” file to change

    <div class="post-entry standard-post-entry">
    				<?php the_content( __( 'Continue Reading', 'pencidesign' ) ); ?>
    				<?php wp_link_pages(); ?>
    			</div>

    to

    <div class="post-entry standard-post-entry">
    				<?php the_excerpt( __( 'Continue Reading', 'pencidesign' ) ); ?>
    				<?php wp_link_pages(); ?>
    			</div>

    This almost works, however it then removes the “Continue Reading” button and I cannot figure out why.

    I would love some help on this as I have been unable to find the answer on the theme’s support page either. Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter reelbump

    (@reelbump)

    Sorry – the website is http://www.reelbump.com.

    what exactly is the problem?
    there is a ‘continue reading’ on every post on the home page…

    the theme’s developer might be the best to help with your question.

    https://codex.wordpress.org/Forum_Welcome#Commercial_Products

    Thread Starter reelbump

    (@reelbump)

    Hello Michael,

    Yes – the button works. However, the problem is:

    If I manually enter an excerpt in the post’s creation, that excerpt does not show. It only shows the full post text up to where I manually insert the “Continue Reading” button.

    That means, for example – I want to have a post say “Listen below” in order to direct the viewer to click the “Continue Reading” button, but to have different text that does NOT include “Listen below” once they’ve clicked the button I cannot do that.

    I either have to include the “Listen below” and have the viewer confused when they click as the audio is actually above the post text on the full post page or remove it altogether and hope the viewer knows to click the button in order to hear the audio that is posted on the actual page.

    I hope this makes sense.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Home Page Not Showing Excerpts’ is closed to new replies.