WordPress.org

Ready to get started?Download WordPress

Forums

Heading Tags Generating Weird Code (3 posts)

  1. slateb
    Member
    Posted 10 months ago #

    My heading tags (h1, h2, h3, etc...) are generating some weird output when the pages are published.

    This is what I'm getting:

    <p>Bacon ipsum dolor sit amet boudin meatloaf pork belly salami shoulder rump sausage jowl chicken. Bresaola spare ribs drumstick chicken pork chop doner cow rump. Tongue tail turducken boudin. Pork belly kielbasa doner drumstick. Frankfurter swine shank tenderloin, pancetta pork chop corned beef boudin tri-tip rump shankle brisket sausage strip steak flank.<br>
    <a name="heading-two"></a><br>
    </p>
    <h2>Heading Two</h2>

    Before all the heading tags tags and this weird <a> is getting inserted. There is nothing in the visual or html editor that shows this.

    I've already added the following filters to my functions file

    remove_filter( 'the_content', 'wpautop' );
    remove_filter( 'the_excerpt', 'wpautop' );

    any ideas???

  2. Krishna
    Volunteer Moderator
    Posted 10 months ago #

    What theme are you using? Where did you download it from?

  3. alchymyth
    The Sweeper & Moderator
    Posted 10 months ago #

    does this also happen if you temporarily deactivate all plugins?
    and if you temporarily switch to the default theme (Twenty Thirteen or Twenty Twelve)?

Reply

You must log in to post.

About this Topic