I’m curious how to go about calling the dw-focus-slider (or dw_focus_top_posts object) from code.
Thanks.
Please login or Register to submit your answer
I’m curious how to go about calling the dw-focus-slider (or dw_focus_top_posts object) from code.
Thanks.
Please login or Register to submit your answer
replied 10 years ago
So far, this is the best I could do.
$myslider = new dw_focus_top_posts();
$instance[‘number’] = 5;
echo “
echo $myslider->widget($args, $instance);
echo “
“;