Created
April 22, 2013 18:54
-
-
Save dlh01/5437520 to your computer and use it in GitHub Desktop.
For using the Jetpack Twitter widget in a template, as of Jetpack 2.2.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
the_widget( 'Jetpack_Widget_Twitter', | |
array( | |
'title' => 'RNS on Twitter', | |
'account' => 'RNS', | |
'show' => 3, | |
'hidereplies' => true, | |
'hidepublicized' => true, | |
'includeretweets' => true, | |
'followbutton' => true | |
), | |
array( | |
'before_widget' => '<aside class="widget widget_twitter">', | |
'before_title' => '<h1 class="widget-title">', | |
'after_title' => '</h1>', | |
'after_widget' => '</aside>', | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment