Support » Fixing WordPress » Stripping the Teaser (read more etc)

  • Hey,

    I have been using WordPress for a while now. Recently a client wanted to have custom excerpts on the homepage. I have achieved this perfectly on the homepage side – however on the content pages I am seeing the following, it is causing unwanted spacing due to the paragraph element. I have hidden it with a dodgy ‘:first-child’ selector in CSS, but I am wondering why it is even there if I am stripping the teaser from the content.. and if I can remove it properly.

    <p><span id="more-17"></span></p>

    This is the code I am using for my pages:

    	while (have_posts()) : the_post();
    		global $more; $more = 1;

  • The topic ‘Stripping the Teaser (read more etc)’ is closed to new replies.