Archived

This topic is now archived and is closed to further replies.

  • 0

Ecopro - Continue Reading link on category pages

Question

Posted · Report post

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

7 answers to this question

Posted · Report post

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

Posted · Report post

I don't see this line in _posts.php

Share this post


Link to post
Share on other sites

Posted · Report post

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

Posted · Report post

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

Posted · Report post

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

Posted · Report post

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

Posted · Report post

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