I am displaying a page from vendor’s server on my website, and would like to use shortcodes to style the layout of the content, this page has a url http://mysite.com/vendor_page.
I did some research and understand that I can use do_shortcode() to echo the shortcode, but not sure how I can use it on an external page where there is no actual content I can edit with my WordPress visual html editor.
Kinda lost here and hope someone can point me a right direction.
To use
do_shortcode()function in atemplate/php fileyou have to first create/register ashortcodein yourfunctions.phplikeThen in your template/php file you can directly call it like
As a result it’ll echo
my_test_shortCode_func working...!at the place ofdo_shortcode.