I have built a site using the Clear Styles 1.2 theme. I chose the theme because it is clean and clear.
However, upon getting the site together I have found that there is a ... continue reading ... function that is broken. Eg when a reader clicks on a post to go to read it in full or make a comment it brings up a non-functioning ...continue reading ...
This is the code from functions.php - what changes should I make?
function clearstyle_excerpt_length($length) {
return 40;
}
add_filter('excerpt_length', 'clearstyle_excerpt_length');
function clearstyle_continue_reading_link() {
return ' <a href="' . get_permalink() . '">' . __('Continue reading', 'clearstyle') . '</a>';
}
function clearstyle_auto_excerpt_more($more) {
return ' …' . clearstyle_continue_reading_link();
}
add_filter('excerpt_more', 'clearstyle_auto_excerpt_more');
function clearstyle_custom_excerpt_more($output) {
if (has_excerpt() && !is_attachment()) {
$output .= clearstyle_continue_reading_link();
}
return $output;
}
add_filter('get_the_excerpt', 'clearstyle_custom_excerpt_more');
Or am I looking in the wrong place?