I am attempting to write some PHP to display the rotating widget from my custom template. I can get the list to show up but not the rotating widget.
This is the code I am using to display the list:
$args = array(
‘limit’ => 1,
‘random’ => true,
echo testimonialswidget_list_shortcode( $args );
What code do I use to display the rotating widget instead? The code you have on your FAQ #1 is not working for me.
- The topic ‘Writing PHP to display Rotating Widget in a template’ is closed to new replies.