• 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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter xinxin

    (@xinxin)

    OK, so I have done a little more sleuthing. The same thing happens when I use different themes … the default Twenty Ten or Atahualpa.

    Basically I get a continue reading link (it’s different in each theme) which goes nowhere. I have tried Firefox, IE and Chrome – no joy.

    These are the fixes that I have tried:

    1. Re-uploaded the core WP files (from a fresh download)
    2. Deactivated all of my plugins

    Neither of these have worked.

    Any ideas? At all?

    Moderator t-p

    (@t-p)

    -try deactivating ALL plugins temporarily to narrow down and possibly fix the problem. If the problem goes away, activate them individually to find the culprit.

    same deal with me on “Twenty Ten” theme

    For me, the problem was caused by Andy Beard’s plugin called “Nofollow Those Dupes”.

    As found here http://andybeard.eu/wordpress-plugins/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Continue reading link error’ is closed to new replies.