The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › wordpress shortcode php help
I am having trouble finding the syntax error in this code
function toggle_shortcode( $atts, $content = null ){ extract( shortcode_atts( array( 'title' => 'Click To Open', 'color' => " ), $atts ) ); return ''. $title .'' . do_shortcode($content) . ''; } add_shortcode('toggle', 'toggle_shortcode');