WordPress adds br in between my shortcode

before you register your shortcode, add the filter to the content for unautop:

add_filter( 'the_content', 'shortcode_unautop' );

Do this also for the areas, maybe excerpt or widget, when your shortcode add to this areas.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)