Support » Themes and Templates » No line break around the_content

  • Hi,

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Bumping this one from ages ago, because I have the same question.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No line break around the_content’ is closed to new replies.