How to use wordpress widget short code in to php file

147 Views Asked by At

[yottie channel="https://www.youtube.com/channel/UCD3H1OkbYIDXjbRD3y3XPrA"]

how to use this short code in to php file.

1

There are 1 best solutions below

1
On

Just like this:

<?php echo do_shortcode( '[yottie channel="https://www.youtube.com/channel/UCD3H1OkbYIDXjbRD3y3XPrA"]' ); ?>