shortcode_atts – one URL variable not working
First of all, you’re using extract / shortcode_atts in correctly: The line: extract(shortcode_atts(array( “li” => get_option(‘li’), ), $liatts)); uses shortcode_atts and then extracts turns each key in the returnarray into its own variable: e.g. $li in this example. But you then go onto use $liatts anyway – which is just the attributes passed from the … Read more