Jump to content
Sign in to follow this  
nateman42

Ecopro - Continue Reading link on category pages

Recommended Posts

nateman42    0
nateman42

Hi there! In the Ecopro template, is there a way to have the "continue reading" link after excerpt text on category pages? Right now, it looks like this is only able to be displayed on the blogs page in the standard options. This means that on the category pages, the user must know to click on the article title to see the full article, which is not the experience that I want.

Share this post


Link to post
Share on other sites
cmunns    16
cmunns

Yes, Let's modify some code in theloop.php Find this line: ` <?php if(is_home() && !pl_show_content($post->ID)): // 'Continue Reading' link ?> ` and add a `|| is_category()` to the end inside the last bracket.

Share this post


Link to post
Share on other sites
nateman42    0
nateman42

Thanks! Sorry for the completely newbie follow up question, but, where can I make this modification? Is this a change that I can make from my wordpress dashboard? Or, do I need to do this from my hosting account? Any advice that you can provide would be appreciated.

Share this post


Link to post
Share on other sites
cmunns    16
cmunns

You can find this code by going to the dashboard then go to APPEARANCES > EDITOR and scroll down the right column until you find _theloop.php

Share this post


Link to post
Share on other sites
clicatt    0
clicatt

I have the same problem than Nathan, try to apply the solution given but I couldn't find _theloop.php neither using Appearances>Editor nor going through folders and files. Any help will be very appreciated!

Share this post


Link to post
Share on other sites
cmunns    16
cmunns

the file is different depending. if you don't see theloop.php then you'll need to look at _posts.php They are the same thing.

Share this post


Link to post
Share on other sites
clicatt    0
clicatt

Thanks. I got it! Works fine. If you have the same problem, this is what you have to get in the _posts.php, line 45

<?php if(is_home() && !pl_show_content($post->ID)|| is_category()):?>

the result here (in French) : http://www.clicattitude.info/wp/?cat=5

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×