Support › Forums › Programming and Development › WordPress › Short code in wordpress php file
Tagged: wordpress
This topic contains 1 reply, has 2 voices, and was last updated by Jeanne 7 years, 5 months ago.
How to write the short code in wordpress php file?
Hi,
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.