• sgumby

    (@sgumby)


    The Widget Shortcode Block Adds Paragraph Tags! Why? This should not add any formatting because the formatting should be handled by the shortcode’s output. Please consider fixing this.

    Anyone having trouble with this? Just switch to using the custom html widget and paste your shortcode there. No formatting added by wordpress….

Viewing 2 replies - 1 through 2 (of 2 total)
  • Varun

    (@varunkumarmahalingam)

    Hi @sgumby ,

    It seems you need to disable the wpautop

    add the following code in your functions.php file. This will resolve your issue.

    remove_filter('the_content', 'wpautop');

    Thread Starter sgumby

    (@sgumby)

    Right but doesn’t that disable it for all content output? That’s not really a solution.

    • This reply was modified 3 weeks, 6 days ago by sgumby.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.