WordPress Use Shortcode outside post editor in theme files

WordPress added function called do_shortcode() using this function you can call wordpress shortcodes outside post editor and you can call shortcode in you wordpress theme .php files.

// Use shortcode in a PHP file (outside the post editor).
Read Also :  Plans for avoiding some of the frequent mistakes in Thesis theme

Be the first to comment

Leave a Reply

Your email address will not be published.