Support › Forums › Programming and Development › WordPress › Short code in wordpress php file
This topic contains 1 reply, has 2 voices, and was last updated by Jeanne 4 years, 5 months ago.
How to write the short code in wordpress php file?
Using do_shortcode() function inside of php echo tag. A very simple solution is to use the do_shortcode()
function inside a PHP echo tag.
eg:< ?php do_shortcode("[shortcode]"); ?>
You must Login/Register to reply to this topic.