Yes, there are 2 possibilties:
- in the template insert this code to let the widget be displayed:
<?php the_widget( 'Recent_Posts_Widget_With_Thumbnails' );?>
If desired you can use up to 2 optional parameters:
<?php the_widget( 'Recent_Posts_Widget_With_Thumbnails', $instance, $args ); ?>
Documentation about the_widget().
- or insert register an additional widget area via
register_sidebar() – lets call it ‘RPWWT Widget Area’ – and insert this code in the template where to show the widget:
<?php if ( function_exists( 'dynamic_sidebar' ) and dynamic_sidebar( 'RPWWT Widget Area' ) ); ?>
-
This reply was modified 9 years, 3 months ago by
Martin Stehle. Reason: the_widget,register_sidebar