Support » Fixing WordPress » Heading Tags Generating Weird Code

  • 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>
    <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???

Viewing 2 replies - 1 through 2 (of 2 total)
  • What theme are you using? Where did you download it from?



    Forum Moderator

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Heading Tags Generating Weird Code’ is closed to new replies.