• Hi,

    When i make a paragraph around some text, their is no p-tag in the source code.

    It looks like this:
    “Text

    Text text text

    text text

    Instead of looking like this:
    “<p>Text</p>
    <p>Text text text</p>
    <p>text text</p>

Viewing 6 replies - 1 through 6 (of 6 total)
  • Sounds like your theme is using the_excerpt(). You could try going through the theme template files and replacing the_excerpt() with the_content().

    Jowiii,

    Is this an issue you are seeing only in the TinyMCE editor or is this also translating across to the published post as well? You don’t necessarily see <p> tags within the HTML editor of WordPress.

    Thread Starter jowiii

    (@jowiii)

    Thanks esmi, i will try.

    Only in the editor. Maybe i can solve the problem with css, styling the p-tag..?

    Jowiii, if its only in the editor why are you worried about it? The editor is a little odd. As doc4 mentioned, you might not– I’d say usually won’t– see the <p> tags.

    Thread Starter jowiii

    (@jowiii)

    I though i couldnt see it in the source code.
    My mistake.

    But the problem is that their is no space between each paragraph. Do i just have to use padding?

    Do i just have to use padding?

    Yes. Formatting should be done via CSS and the editor in a kinda clunky way forces this– and it seems to trigger its fair share of complaints. By the way, I’m mostly on the side of those who think that the html editor should honor all html, but right now it doesn’t. There is a plugin though.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Missing p tags’ is closed to new replies.