Support » Themes and Templates » Stripping <p> Elements from Posts

  • Resolved Cregy

    (@cregy)


    Hi

    I have a <p> element in a post that is causing non-validation and also problems with the site.
    Rhubarb Interiors
    Any ideas how we strip the <p> element please?

    Thanks

    Rich

Viewing 3 replies - 1 through 3 (of 3 total)
  • The P is not your problem, the problem is that you have a DIV with all that sidebar stuff in the post content itself. That’s not supposed to be there, is it? Because it doesn’t make any sense there.

    I found an explanation to the long lines that were happening on my site:
    Pre tags.

    No answer to stripping the p tag yet though.

    Thanks

    Rich

    Thanks Otto42 for the reply. I know it makes no sense but it is how the plugin works. I’ll try to edit the file directly and remove it.

    Thanks

    Rich

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stripping <p> Elements from Posts’ is closed to new replies.