I would like to create a shortcode that has predefined output for attribute values. For example:
[shortcode att="value1"] output = <div id="value1">Predefined content for value1</div> [shortcode att="value2"] output = <span id="value2">Predefined content for value2</span> etc.
I'm just not sure how to setup the function with a predefined array of output values. Ideally the function would look something like this:
array( value1 = '<div id="value1">', value1 = '<div id="value2">' );
I hope this makes sense. Thanks!