Do Shortcode – How to display a WordPress shortcode in custom post type Apr 15, 2019 You can call a short code in WordPress using the following: <?php echo do_shortcode(‘[custom_email]’); ?> I often prefer to place it inside a DIV: <div id=”custom-block”> <?php echo do_shortcode(‘[custom_email]’); ?> </div>