Continue reading link 404s
-
I looked at error logs today on another matter and saw this over and over. I just clicked Continue Reading and it 404s each time.
I need to fix it BUT I can’t get into the admin area if I have to. Hopefully the error can be fixed by editing functions.php.
(several hundred of these on the same date) [error] [client 66.249.73.69] PHP Fatal error: Call to undefined function colorful_continue_reading_link() in /mnt/xxxxxxxx/apache/hosting-dir/110298/user_dir/xxxxxxxxxxcom/wp-content/themes/d5-colorful/functions.php on line 67
(obviously the error is on line 67 in functions.php. I found the text which seems to call for this)
// Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and colorful_continue_reading_link(). // function tied to the excerpt_more filter hook. function colorful_auto_excerpt_more( $more ) { return ' …' . colorful_continue_reading_link(); } add_filter( 'excerpt_more', 'colorful_auto_excerpt_more' ); // Adds a pretty "Continue Reading" link to custom post excerpts. function colorful_custom_excerpt_more( $output ) { if ( has_excerpt() && ! is_attachment() ) { $output .= colorful_continue_reading_link(); } return $output;
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Continue reading link 404s’ is closed to new replies.