Office Address

41/D, West Brahmondi, Narsingdi

Phone Number

+880-1975374887

Email Address

dynamicweblab@gmail.com

Some time shortcodes add some some extra <p> and <br /> after of before post.This is happend because of the wpautop filter.

You can easily prevent this by changing the execution priority of wpautop filter.

Simply use this code on your theme functions.php

[php] remove_filter( ‘the_content’, ‘wpautop’ );
add_filter( ‘the_content’, ‘wpautop’ , 12);[/php]
Written by

Maidul Islam

I am a freelance web developer.Like to share what i learn.