Support » Plugin: Advanced Excerpt » Advanced Excerpt Not Working With Theme

  • Good day.

    I am having a problem with the php code in my theme. I decided to try this plugin but still does not work.

    http://www.family-service.org/family-service/get-involved/

    Notice that the Get Involved page shows the posts with excerpt content and Read more up against the text.

    The Get Involved template page does the following:
    “Get Involved” page template will display automatic excerpts of the post content. Therefore there is no need to add the “more” tag. The excerpt ends with “…” and title and the featured image link to the full post.
    If you want to use the “more” tag instead of the excerpt and have the “read more” button then in the “Get Involved Page Template” (template-getinvolved.php) you need to replace this line of code:

    <p><?php echo wp_trim_words( get_the_content(), 15, ‘…’ );?></p>

    with this one :

    <?php the_content( __( ‘Read More’, ‘anariel’ ) ); ?>

    I am not a php programmer but have tried everything I know to do. Perhaps you can help. If you can’t, I understand.

    Thank you for your consideration.
    Dawn Quinn

  • The topic ‘Advanced Excerpt Not Working With Theme’ is closed to new replies.