I need the "read more" of my posts in the blog section

Best WordPress theme for festivals or other events with responsive, clean and unique design.
GK User
Tue Aug 20, 2013 12:05 am
I'm using the Fest theme for WorldPress. My understanding of the blog section is that I need to define a category and connect that category a specific menu-item which then - based on the category I choose - will serve as my blog. Now, I did that. This has generated the list of posts which now serve as my blog, BUT "read more" or the like isn't a part of a post on the list. A post longer than 3 - 5 lines will end with a plain '...' the user then need to know that she should hit the headline in order to get to the entire post. Most "normal" don't understand that, What are my options. Choosing the "read more" feature as part of the post doesn't help :?:
User avatar
Fresh Boarder

GK User
Tue Aug 20, 2013 7:49 am
Hi,

You have to edit Fest/content.php file and replace this fragment:
Code: Select all
<section class="summary">
         <?php the_excerpt(); ?>
      </section>

with:
Code: Select all
<section class="summary">
         <?php the_excerpt(); ?>
         
         <a href="<?php echo get_permalink(get_the_ID()); ?>" class="btn btn-more"><?php _e('Read more', GKTPLNAME); ?></a>
      </section>

In this theme read more button feature is disabled by default, when you'll replace this code read more will be visible on your posts, if you want to add this feature also to your post format - you have to edit other files (content-aside, content-audio.. etc)
User avatar
Moderator


cron