Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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');
share|improve this question
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
add comment

1 Answer

up vote 1 down vote accepted

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.

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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