GP Sections to remove first p tag

Home Forums Support GP Sections to remove first p tag

Home Forums Support GP Sections to remove first p tag

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #202008
    Francesco

    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

    #202050
    Tom
    Lead Developer
    Lead Developer

    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?

    #202085
    Francesco

    Do you think it is a conflict with another plugin?

    #202092
    Tom
    Lead Developer
    Lead Developer

    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/)

    #202093
    Tom
    Lead Developer
    Lead Developer

    Scratch that, it does look like a bug in Sections.

    I’ll look into it deeper and will let you know.

    Thanks!

    #202094
    Francesco

    Ok thank you Tom!

    #202607
    Tom
    Lead Developer
    Lead Developer

    I think I got this sorted.

    If you want to give it a try shoot me an email to support@generatepress.com πŸ™‚

    #202653
    Francesco

    Sure πŸ˜‰

    #202660
    Tom
    Lead Developer
    Lead Developer

    Sent πŸ™‚

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.