Last active
December 19, 2015 12:29
-
-
Save hlashbrooke/5955479 to your computer and use it in GitHub Desktop.
WooThemes Tweets widget
This file contains 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
<?php if ( $woo_options['woo_twitter'] ) { ?> | |
<div id="twitter"<?php if ( $woo_options['woo_sub'] <> "true" ) echo ' class="twitter-if"'; ?>> | |
<a href="http://www.twitter.com/<?php echo urlencode( $woo_options['woo_twitter'] ); ?>" title="<?php esc_attr_e( 'Follow us on Twitter', 'woothemes' ); ?>" class="fl" ><img src="<?php bloginfo('template_directory'); ?>/images/ico-twitter.png" alt="" /></a> | |
<?php if ( class_exists( 'WooDojo_Widget_Tweets' ) ) { | |
the_widget( 'WooDojo_Widget_Tweets', array( 'twitter_handle' => esc_attr( $woo_options['woo_twitter'] ), 'limit' => 1, array( 'before_widget' => '<div id="twitter_update_list" class="twitter_container">', 'after_widget' => '</div>' ) ); | |
} ?> | |
</div> | |
<?php } ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment