Support » Plugin: Breeze Display » Shortcode bug (with patch)

  • The giving form shortcode always displays the form at the top of the page, even when you try to have a preceding paragraph or two. It’s because you’re using echo and not return.

    --- shortcodes.php	2018-06-16 16:44:04.553271792 -0700
    +++ shortcodes.php	2018-06-16 16:42:13.153698445 -0700
    @@ -16,7 +16,7 @@
     			exit();
     		}
    
    -		echo '<div id="breeze_giving_embed" data-subdomain="' . $wt_option_breeze_subdomain . '"></div>';
    +		return '<div id="breeze_giving_embed" data-subdomain="' . $wt_option_breeze_subdomain . '"></div>';
     	}
    
    
  • The topic ‘Shortcode bug (with patch)’ is closed to new replies.