Using Variables in Shortcodes

Simply don’t call return more than once.

Just add your output to a variable:

$some_variable_name="mention the = at the beginning of this line";
$some_variable_name .= 'Take a look at the .Period before the = in this line';
$some_variable_name .= 'then add more lines always with the period';
// at the end of your shortcode function:
// if you want to echo something:
echo $some_variable_name;
// or:
return print $some_variable_name;
// If you want to just return it in code:
return $some_variable_name;

Also #1: Keep your variable names with lowerspace characters.

Also #2: In php, variables always have to use _ underline instead of - dash.