Passing html tags as shortcode parameters
When I create shortcodes that accept html tags i only take the tag name, meaning that if the tag is <h3> then i ask the user to enter h3 and i add the <, </ and > in the shortcode handler ex: extract( shortcode_atts( array( ‘count’ => -1, ‘category_name’ => ”, ‘q_tag’ => ‘h3’, ‘orderby’ … Read more