I need to use do_shortcode to execute the code from a custom template via custom fields. Here's what I'm doing:
$shopSection = get_post_meta($post->ID, 'SS_id', true);
$options = get_option('sample_theme_options');
$shopName = $options['sometext'];
echo do_shortcode( '[etsy-include=' . $shopName . ';' . $shopSection . ']' );
This simply prints:
to the page instead of being translated by WordPress.
If I paste the same shortcode into the main content editor then it works fine so I know the shortcode is fine. The plugin is not processing it correctly.