php call shortcode wordpress code example Example: do_shortcode echo do_shortcode('[name_of_shortcode]');