Couldn't find documentation for how to change settings when using word press's the_widget
matt-in-a-hat opened this issue · comments
Matt Lang commented
Here's how I got this twitter widget to output where I wanted, with the last 4 tweets, including re-tweets but not replies. In the php where I wanted it output I inserted the following:
the_widget( 'Rapid_Twitter_Widget', array(
'account' => 'myTwitter',
'title' => '@myTwitter',
'show' => 4,
'includeretweets' => true,
'hidereplies' => true
), array());
I found these options by tracing the widget source code, but I thought it would be nice to have this documented in case others search for it, perhaps in the readme.