No line break around the_content (3 posts)

  1. Master_Kato
    Posted 10 years ago #


    When I call the_content it automatically puts a line break before and after it...is it already being assigned some div class? Is there any way I can suppress that?

    I want some info immediately before and after the content, but all in the same paragraph.

    Maybe I just need to get the_content using another function or variable?

  2. acousticdryad
    Posted 9 years ago #

    Bumping this one from ages ago, because I have the same question.

  3. NoelCower
    Posted 9 years ago #

    Well, since the original post never got an answer either, I suppose it's worth answering.

    You could add a filter for the_content that would be called before the wptexturize filter. Basically, like this.

Topic Closed

This topic has been closed to new replies.

About this Topic