Thread Starter
Graham
(@grahamearthbrandingcom)
Hi hope someone can help please,
I’ve installed the Rotating Twitter plugin and added it using the ?<php do_shortcode etc etc ?> in a template file.
However it is now adding a class of externalLink to all my ““tags!!
I only want the twitter tags to have this class as its messing up the other “” tags within the site
Thanks
http://wordpress.org/extend/plugins/rotatingtweets/
Thread Starter
Graham
(@grahamearthbrandingcom)
Hi sorry about the above its taking my html code and hiding it.
The class is being add to the a tags
Thanks
Use the code button above to highlight code.
Are you sure it’s RotatingTweets doing that? None of the JavaScript I’ve written has any reference to ExternalLink in it – and I’ve never seen any of the other JavaScript (jquery, jquery.cycle and the Twitter javascript – https://platform.twitter.com/widgets.js) does this anywhere else. Can you send me a link to the site?
Martin
You may want to look for some code on your site that looks like this or this.
Thread Starter
Graham
(@grahamearthbrandingcom)
Hi Martin,
Thanks for the reply, it was one of the tags not being closed properly that was causing the issue.
However, I also have a need to reduce the width of the column that the twitter application creates so as I can fit it in a column thats approx 150px wide, at the moment it spans to far and I lose half the view
Unfortunately I’m unable to provide a link to the site, the client is quite sensitive about it!!
Cheers
One of the tags in the plug-in? Or another tag?
As the per the FAQ, the width issue can be solved as follows:
Try putting:
div.widget_rotatingtweets_widget, div.rotatingtweet, div.widget_rotatingtweets_widget div.widget-title {
max-width: 150px;
}
into your CSS – either via putting rotatingtweets.css into wp-content/uploads or by editing your own template files.
Martin
Thread Starter
Graham
(@grahamearthbrandingcom)
Thanks Martin,
Very useful.
It was one of my tags so no need to worry about the plug-in
Cheers