• Resolved Eric Daams

    (@ericdaams)


    Great little plugin. I have one simple request: Add the $shortcode parameter when calling shortcode_atts.

    For accordion:

    extract(shortcode_atts(array(
    			'autoclose'    => true,
    			'openfirst'    => false,
    			'openall'      => false,
    			'clicktoclose' => false,
    			'scroll'       => false
    		), $atts, 'accordion'));

    For accordion-item:

    extract(shortcode_atts(array(
    			'title' => '',
    			'tag' => 'h3'
    		), $atts, 'accordion-item'));

    This would just make it easier for themers / developers to set up the default that works best for their design.

    Cheers, Eric

    https://www.ads-software.com/plugins/accordion-shortcodes/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Allow filtering via shortcode_adds’ is closed to new replies.