display a widget via php
-
Hi there,
I have a widget that I would like to inset into my template. is this possible?
I tried using the following:
<?php echo do_shortcode('[weather]'); ?>
but it only seems to output the word “[weather]”
Is there a way to get a list of widget short codes?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘display a widget via php’ is closed to new replies.