'Read More' Function = Unwanted Text on Site
-
Hello, I just added a ‘Read More’ function so I could add a read more link to my excerpts…works great in the Loop, but when viewing a single post I get the ‘Continue reading’ text floating in the top left of the site as seen here:
https://www.elevenveleven.com/2011/12/21/check-out-antagonist-hoody/
Here’s what I’m using:
[please mark any code using the code button to keep it from getting distorted – https://codex.www.ads-software.com/Forum_Welcome#Posting_Code ]
function new_excerpt_more($more) {
global $post;
return ‘ID) . ‘”>?<span class=continuereading>Continue reading ?</span>‘;
}
add_filter(‘excerpt_more’, ‘new_excerpt_more’);I am not a developer, but a designer, so I may be missing something obvious…
Thanks for your time and advice.
- The topic ‘'Read More' Function = Unwanted Text on Site’ is closed to new replies.