Forums

"Continue reading" appears at the top of my single post pages (3 posts)

  1. idlethumbs
    Member
    Posted 4 months ago #

    I've just built my first wordpress template and I'm having trouble removing some text which is appearing at the top of some, not all, of my full post pages - i.e. when you've clicked 'read more' and are now on the full post.

    I cant find where this "continue reading → />" is coming from in my code and baffled as to how it should show up on some posts and not others!?

    heres an example of the problem on a post:
    http://piecesofpaint.com/2012/01/01/643/

    help would be greatly appreciated, thank you.

    *edit**
    I should add that it appears just inside the body tag, and after the twitter hub iframe, heres how it looks in the html code:

    Continue reading
    <span class="meta-nav">→</span>
    " />

  2. alchymyth
    The Sweeper
    Posted 4 months ago #

    the 'contineue reading' comes from this line in the html code in the browser, from the <head> section:

    <meta property="og:description" content="Pen and ink Illustration of a female warthog skull, don’t ask us how we know its a female, we just know. This beautiful specimen is on loan from the Booth Museum in Hove, for the purposes of having its portrait … <a href="http://piecesofpaint.com/2012/01/01/643/">Continue reading <span class="meta-nav">→</span></a>" />

    caused by a badly programmed plugin
    <!-- Begin FB Sharing for WP by Chad Von Lind. Get the latest code here: http://vonlind.com/?p=539 -->

    remove the plugin and find a better one.

  3. idlethumbs
    Member
    Posted 4 months ago #

    Thank you very much alchymyth,
    I had no idea it was coming from my header description.
    I did in fact have that plugin some time ago but it is currently uninstalled and also deleted,

    some plugin however (i still couldnt work out which one, as I deactivated my current meta data plugin and the continue reading still appeared) was calling my excerpt as my meta description - which is in fact what i want, but my functions.php (based from twenty-eleven) was calling a continue reading link for all my excerpts, I managed to circumvent the problem by changing the line (313) to return nothing at all as shown:

    function twentyeleven_continue_reading_link() {
    	return '';

    this is probably an inelegant solution - hopefully one that wont bring back gremlins elsewhere? - I am very grateful that you brought the problem into the realms of my understanding so that I could at least do something about it!

Reply

You must log in to post.

About this Topic