Archived topic
GP Sections to remove first p tag
8 replies · Started by Francesco on June 14, 2016
Hi Tom,
after latest GP Premium update, all my first "p" tags are disappeared from sections.

Can you please check it?
I saw plugin uses apply_filters( 'the_content', $return ); on output and html containers, can be an idea to use filters only on output and not on html containers?
Thanks and hope you are well ;)
Francesco
I apply the_content filter to the entire page, as applying it to each section means plugins adding stuff via the filter (share icons etc..) add their stuff to each section, which is no good.
Have you ruled out a plugin modifying the_content filter causing that first paragraph not to have tags?
Do you think it is a conflict with another plugin?
It could be, many plugin filter into the_content() function.
It's worth checking at least (#1 on this page: https://generatepress.com/knowledgebase/debugging/)
Scratch that, it does look like a bug in Sections.
I'll look into it deeper and will let you know.
Thanks!
Ok thank you Tom!
I think I got this sorted.
If you want to give it a try shoot me an email to support@generatepress.com :)
Sure ;)
Sent :)
