[thelist] remove h1 line/entry

Mark Groen evolt at markgroen.com
Fri Nov 19 18:54:06 CST 2010


On 2010-11-19 4:30 PM, Bob Meetin wrote:
> I'm needing to make some changes to a wordpress page to remove the 
> <h1> entry.  The following line includes both the header and paragraph 
> text.  This is some kind of function?
>
> <div class="entry">
> <?php the_content('<br />Read more &raquo;'); ?>
> </div>
>
> The object is to remove only the header, not the balance of the 
> content. Is there a way to massage 'the_content' using preg_grep or 
> whatever to remove the text?  i.e. starting with:
>
Look in the theme files for the site you are using. That line could be 
in just one file called index.php but could also be in single.php etc.

cheers,

     Mark
--



More information about the thelist mailing list