broken while using HTML tags on Text widgets
-
It put HTML elements on the top of the page while using multiple Text widgets.
I have modified the function smk_sidebar_shortcode on smk-sidebar-generator.php as follows to get it work,
function smk_sidebar_shortcode( $atts ) {
extract( shortcode_atts( array(
‘id’ => null,
), $atts ) );ob_start();
smk_sidebar($id);
$sc = ob_get_contents();
ob_end_clean();
return $sc;
}
- The topic ‘broken while using HTML tags on Text widgets’ is closed to new replies.