I have just found the same issue – the continue reading link goes to the home page and not the page where the excerpt is pulled in from….can anybody help with this?
Also – i cannot work out how to set the number of words displayed as the excerpt / the excerpt length – it seems to be 40 words as default. linkhousemedia – have you changed the excerpt length at all??
Many thanks!
Lucy
@lucyryder, I ended up using my functions.php file to remove the “Continue Reading” link from the widget (and consequently the rest of the site which in my case didn’t matter). The title of the widget links to the correct location.
From what I understand, the excerpt length just follows your wordpress settings, which you can change using your functions file like so:
add_action('after_setup_theme', 'remove_theme_features', 11 );
function remove_theme_features() {
remove_filter( 'excerpt_length', 'twentyeleven_excerpt_length' );
}
function my_excerpt_length( $length ) {
return 30; //this is where you put your new length
}
add_filter( 'excerpt_length', 'my_excerpt_length' );
Hope that helps a little.
Jason
Hi Jason,
Thanks so much for taking the time in getting back to me!! One thing – if i set the excerpt length in my functions.php file, will that override any i have set in my page templates, which I currently have written in for a particular page…?
Thanks again!!!
Lucy
No problem Lucy.
Changing it the way I described will change it site-wide. If you want to change it for your posts and pages you could try something like this inside the function (described here: http://wordpress.org/support/topic/different-excerpt-lengths-for-different-categories):
if ( is_category(1) ) {
return 10;
}
is_category() might not be the right answer for you but that should get you on the right track.
Good luck!