Support

Account

Home Forums General Issues Execute a shortcode from custom field in the sidebar Reply To: Execute a shortcode from custom field in the sidebar

  • For the record, I did attempt using [acf field="{$trailer}"] In a text widget by supporting it with add_filter( 'widget_text', 'do_shortcode'); in functions.php but it doesn’t work. Likely because the sidebar is outside the loop and there is not data.