2.7b2 the_content not able to strip the more link... (2 posts)

  1. lescochrane
    Posted 6 years ago #


    I've just installed beta 2, and am playing with a redesign of my blog.

    I'm using the more quicktag to show an excerpt on my homepage, and I was hoping to use a custom link to point to the entry - however, I can't get the_content to NOT display the more... link.

    I've looked in the codex and believe something like this should work:
    <?php the_content('',FALSE,''); ?>
    and put <!--noteaser--> after the more tag in the post.

    But to no avail, it's still showing the more link on the homepage.

    Is this a bug in the beta?

  2. lescochrane
    Posted 6 years ago #

    Just re-read the codex, and apparently it needs to be TRUE not FALSE, so after a few seconds of playing:

    <?php the_content(TRUE); ?>

    Left me with a link on the homepage saying '1', which I've now hidden with CSS, but would still wonder if this is the proper behaviour?

Topic Closed

This topic has been closed to new replies.

About this Topic