Problem Description:

Fall is a very minimal theme, so by default does not include some elements in the post list such as read more buttons, comment links or the option to show full posts. This article outlines how to modify the template to add these elements. As noted below, we strongly recommend a child theme be used to implement the changes.

This is considered a modification, and is provided as-is. We expect you understand what you are doing if applying coding changes using these or other WordPress tutorials. Make a backup of your existing file so you can replace it if something goes wrong and you need to start over. Modified files WILL probably be replaced by a theme update at some point, so keep note of your changes for future reference or see our guides below. We cannot assist you with modifying your theme or support problems you encounter as a result!

If you are modifying a theme as part of a client project, the following are really important!

How to Modify Your Theme the Right Way
How to Track Update Changes and Maintain Modifications

Answer:

This modification is done to the functions/fetch-list.php. If using a child theme, this file should be copies to the child theme’s functions folder. If doing a direct modification, please make a backup of the existing file first. You may find the Solid Code Theme Editor works better than the default theme editor, as it displays the  line numbers we refer to below.

Adding a Comments Link

Place your cursor at the end of the   ‘date_format’ hook on line 17 and hit enter to create a blank line on line 18. Add the following code to line 18:

<?php if (comments_open($post->ID)): _e(" with ", "ocmx"); ?> <a href="<?php echo $link; ?>#comments" class="comment-count"><?php comments_number(__('0 Comments','ocmx'), __('1 Comment','ocmx'), __( '% Comments','ocmx') );?></a><?php endif; ?>

Lines 17-19 should now look like:

17  <?php the_time( get_option( 'date_format' ) ); ?>
18  <?php if (comments_open($post->ID)): _e(" with ", "ocmx"); ?> <a href="<?php echo $link; ?>#comments" class="comment-count"><?php comments_number(__('0 Comments','ocmx'), __('1 Comment','ocmx'), __( '% Comments','ocmx') );?></a><?php endif; ?>
19  </h5>

Adding a Read More Link

Place your cursor at the end of the   ‘if no != ocmx_show_excerpts ‘  PHP code on line 27 (28 if the above was done) and hit enter to create a blank line on line below. Add the following code to that blank line:

<a href="<?php the_permalink(); ?>" class="read-more">Read More</a>

You should now have this at the end of the document:

 <a href="<?php the_permalink(); ?>" class="read-more">Read More</a>
    </div>
 
</li>