Stripping the Teaser (read more etc) (1 post)

  1. thatstevensguy
    Posted 4 years ago #


    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;

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by thatstevensguy
  • This topic is not resolved
  • WordPress version: 3.2.1


No tags yet.