Penacho
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Plugins
In reply to: [Twitter Widget Pro] Customizing your awesome pluginI have the same issue, but am having trouble finding the CSS in the widget. Am I supposed to be editing wp-twitter-widget.php? If so, is this the code where I can insert thirteencentpinball’s code?
if ( 'true' == $args['showintents'] ) { $widgetContent .= ' <span class="intent-meta">'; $lang = $this->_getTwitterLang(); if ( !empty( $lang ) ) $linkAttrs['data-lang'] = $lang; $linkText = __( 'Reply', $this->_slug ); $linkAttrs['href'] = "https://twitter.com/intent/tweet?in_reply_to={$tweet->id_str}"; $linkAttrs['class'] = 'in-reply-to'; $linkAttrs['title'] = $linkText; $widgetContent .= $this->_buildLink( $linkText, $linkAttrs ); $linkText = __( 'Retweet', $this->_slug ); $linkAttrs['href'] = "https://twitter.com/intent/retweet?tweet_id={$tweet->id_str}"; $linkAttrs['class'] = 'retweet'; $linkAttrs['title'] = $linkText; $widgetContent .= $this->_buildLink( $linkText, $linkAttrs ); $linkText = __( 'Favorite', $this->_slug ); $linkAttrs['href'] = "https://twitter.com/intent/favorite?tweet_id={$tweet->id_str}"; $linkAttrs['class'] = 'favorite'; $linkAttrs['title'] = $linkText; $widgetContent .= $this->_buildLink( $linkText, $linkAttrs ); $widgetContent .= '</span>'; }
Thanks for any help!!
Viewing 1 replies (of 1 total)