Paragraph tags not being added to Posts

  • tphillips

    #15847

    Oh I think this is a little weird. I would have taken it that tags do not appear on the first iteration as they usually get stripped (i mean the tags are removed) by default but if you have already changed the settings and made a point which tags are to be retained and looked past the removal, it should start working perfectly normal. I wonder why this is happening. On a rather common sense, are you sure to have applied the changes you have made with what tags will not be removed?

    Admin

    Syahir Hakim

    #15848

    @skishopmatt:

    Quote:
    It seems to be happening on all posts. I haven’t tried Pages yet. And yes, when I say hard Coded I mean actually adding the <p> and BR tags by hand. I’ve noticed as well that if I switch to VISUAL tab before saving the Hard Coded Tags are deleted as well.

    Have you edited any of the theme’s files? Or maybe some plugin interfering? What you’re describing with the visual editor is exactly how the editor is expected to work. Those tags are stripped when going from HTML to Visual mode because they are not needed. WordPress automatically adds the <p> and <br> tags based on the carriage return characters via the wpautop() function.

    @tphillips:

    Quote:
    I would have taken it that tags do not appear on the first iteration as they usually get stripped (i mean the tags are removed) by default …

    This is correct only for excerpts, and not when the post/page is viewed in full. WordPress automatically strips all tags and shortcodes from excerpts.

    Quote:
    … but if you have already changed the settings and made a point which tags are to be retained and looked past the removal, it should start working perfectly normal.

    Yes, since the theme will tell WordPress to strip all tags from the excerpts except the one you specified in the theme’s options to not be stripped from excerpts. Again, this only applies to excerpts. No HTML tags are stripped from the content when the post/page is viewed in full (except unsafe HTMLs, which are being filtered out by the WordPress’ wp_kses_post() function).

    skishopmatt

    #15849

    Nope, I haven’t edited the theme at all, other than activating the excerpt in the functions.php. I’m not aware of any plug ins that would cause this, I haven’t seen it with any other theme..

    Is there a way to “turn back on” that functionality through a function? If something is deactivating it I wonder if we can re-activate it.

    I’m stuck… (it’s happening on Pages as well btw)

    Thanks so much again for your help.

    Mod

    Kenneth John Odle

    #15850

    I switch to VISUAL tab before saving the Hard Coded Tags are deleted as well.

    If you include a <p> tag in the html editor, and then switch to the visual editor, you should see two paragraphs. If you switch back to the html editor, you won’t see the tag, but you should still see two separate paragraphs, each on a separate line.

    Best bet is to just use the visual editor and only use the html editor when you need to add code or styling that isn’t available in the visual editor. There is no need to “hard code” anything except in extreme circumstances.

    skishopmatt

    #15851

    Best bet is to just use the visual editor and only use the html editor when you need to add code or styling that isn’t available in the visual editor. There is no need to “hard code” anything except in extreme circumstances.

    Agreed Kenneth, that’s exactly what I’m hoping to achieve. The issue is that the theme is not recognizing the carriage breaks in visual or html editor and putting everything in a continuous line.

    Admin

    Syahir Hakim

    #15852

    Did this happen from the beginning, or just recently?

    skishopmatt

    #15853

    Sorry for delay, was out of town. Yes, it’s been happening from day one

    Admin

    Syahir Hakim

    #15854

    Have you tried disabling all plugins to see if any of them is causing the issue? Otherwise, if all else fails, you might want to try the TinyMCE Advanced plugin.

    skishopmatt

    #15855

    Figured it out! It was a plugin in called “WP Publication Archive” that was causing the issue. Thanks for ALL of your help!!!

Viewing 9 posts - 11 through 19 (of 19 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.