Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1329369

    Hi Kriesi,
    On our website we have empty <p> tags and additional <br> tags that should not be on the page. These tags take up space so we want to delete them but we don’t know where the come from. We have seen that some other customers had the same problem. The solution was to update to the latest version of Enfold and update WordPress and all the plugins. We have tried that but the tags are still there.
    Do you know how we can remove all those additional tags? Is it a setting somewhere that we have overlooked?
    Kind regards,
    Rob van Heijst
    Clever Strategy

    #1329398

    Hey Rob,

    Thank you for the inquiry.

    It might be the default wpautop function, which automatically wraps group of text inside a paragraph tag or add line breaks when necessary. Are you using a text block for those text?

    You can disable that function using the filter in the documentation below.

    // https://developer.wordpress.org/reference/functions/wpautop/#more-information

    Or use this plugin to toggle the option.

    // https://wordpress.org/plugins/toggle-wpautop/

    Best regards,
    Ismael

    #1330428

    Thanks Ismael, that works perfectly and solves the issue!

    #1330457

    Hi,

    You are welcome! :)

    For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/

    If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)

    Enjoy the rest of your day!

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Additional and tags’ is closed to new replies.