• bobdobbs

    (@bobdobbs)


    Some of my manual excerpts have broken markup.

    Instead of being wrapped normally in p tags, they are wrapped like this:
    <p></p>
    <p><p>This is the excerpt</p></p>
    <p></p>
    How can I fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael

    (@alchymyth)

    what theme are you using?
    what code is your theme using to output the excerpts?

    Thread Starter bobdobbs

    (@bobdobbs)

    I’m using a custom theme that I am in the process of creating.

    I’ve created the loop myself. Here is the code:

    https://pastie.org/6632233

    Michael

    (@alchymyth)

    nothing suspicous in the code;

    does the odd mark-up show in the html in the browser?

    did you type the manual excerpt into the editor, or did you paste some text into it?

    general troubleshooting procedure:

    – to see if it is theme related, switch to the default theme Twenty Twelve; this uses the excerpt in search results, so do a search to make sure to find that post and check if the output is the same;

    – to see if this is a plugin problem, deactivate all plugins and check if the output is the same; if this solves the problem, reactivate one plugin at the time to locate the interfering one.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Manual excerpts have broken markup’ is closed to new replies.