Custom Shortcodes Giving error on development site

Initialize the variables first. See code below: function mbiz_tabbed_box( $atts, $content = null ) { extract( shortcode_atts( array( ‘tab1’ => ”, ‘tab2’ => ”, ‘tab3’ => ”, ‘tab4’ => ”, ‘tab5’ => ”, ), $atts ) ); $tab1_button = $tab2_button = $tab3_button = $tab4_button = $tab5_button = ”; if ($tab1) $tab1_button = ‘<li><a href=”#” title=”tab1″>’ … Read more

Dashboard Disappears after Upgrade

That is a seriously wonky plugin, my friend. Prologue Before we actually start, trash this conditional – it does absolutely nothing: if($_REQUEST[‘s’] != ”) { } But really, more than likely, the original plugin developer had intended this conditional to actually do something by bailing out of the function if $_REQUEST[‘s’] is not set (seeings … Read more