Skip to content

Instantly share code, notes, and snippets.

@aastrong
Created April 16, 2015 17:17
Show Gist options
  • Save aastrong/793390c60828e6ee3789 to your computer and use it in GitHub Desktop.
Save aastrong/793390c60828e6ee3789 to your computer and use it in GitHub Desktop.
Make wetkit twitter bean scrollable and no tweet limit
diff --git a/plugins/bean/wetkit_bean.twitter.inc b/plugins/bean/wetkit_bean.twitter.inc
index b45b521..ef58db9 100644
--- a/plugins/bean/wetkit_bean.twitter.inc
+++ b/plugins/bean/wetkit_bean.twitter.inc
@@ -155,7 +155,7 @@ class WetKitTwitterBean extends BeanPlugin {
// Rendered markup.
$markup = '<section><div class="wb-twitter ' . $custom_css . ' ' . $span . '">';
$markup .= '<h2>' . $title . '</h2>';
- $markup .= '<a class="twitter-timeline" href="' . $url . '" data-widget-id="' . $widget_id . '" ' . $tweet_limit . '>Tweets</a>';
+ $markup .= '<a class="twitter-timeline" height="400" href="' . $url . '" data-widget-id="' . $widget_id . '" ' . '>Tweets</a>';
$markup .= '</div></section>';
$content['share_twitter']['#markup'] = $markup;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment