New Landing How can we help? Themeforest Theme Support Neighborhood   is automatically added

Viewing 2 posts - 1 through 2 (of 2 total)
  • #195857
    sheloian
    Member
    Post count: 3

    Hi SwiftIdeas team,

    For some reason every time I save or save draft on a product or post a line break   is added into text elements (text box, parallax) in the swift page builder. I have spent A LOT of time having to remove them manually as it really affects the layout.

    I’ve read on the forums that someone had a similar problem and the solution was to disable a plugin called TinyMCEAdvanced. I don’t have this plugin installed so I’m not sure why I am experiencing this problem.

    Please help as it is quite frustrating.

    Thanks!

    Ian

    #195911
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please add this code at functions.php of child theme.

    remove_filter( 'the_content', 'wpautop' );
    add_filter( 'the_content', 'wpautop' , 99);
    add_filter( 'the_content', 'shortcode_unautop',100 );
    

    Thanks
    Mohammad

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register