I am using the Sideshow theme which I received as part of a bundle hence I don't receive any support from Themezilla themselves. I am trying to insert a "Read more" link when I insert a "More" tag. I have tried following instructions from Wordpress Codex using the_content and the_excerpt but haven't been able to crack it. The site I'm using it on is onespectator.com

From the themes functions.php

/*  Change Default Excerpt Length

function tz_excerpt_length($length) {
return 55; }
add_filter('excerpt_length', 'tz_excerpt_length');

/*  Configure Excerpt String

function tz_excerpt_more($excerpt) {
return str_replace('[...]', '...', $excerpt); }
add_filter('wp_trim_excerpt', 'tz_excerpt_more');
  • 1
    Please show us some actual code, no one knows what's in a specific theme. – Wyck Jan 3 '13 at 3:31
  • Hi Wyck I'm not sure which code to show. I have updated the question with code that I think could affect it but I am not sure. Thanks – Clinton Green Jan 3 '13 at 3:35

I found the answer, I searched for <?php the_content(''); ?> and changed it to <?php the_content('Read More'); ?> These were found in each post types php file. eg includes/video.php.

| improve this answer | |
  • Alternatively you can add a name inside your <!--more--> tag. For instance if you wanted a "Read more" link, you would enter <!--more Read more--> – Clinton Green Jan 5 '13 at 3:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.