Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brasofilo/tuit-cycler

WordPress plugin to make a cycler widget of twitts
https://github.com/brasofilo/tuit-cycler

Last synced: 18 days ago
JSON representation

WordPress plugin to make a cycler widget of twitts

Awesome Lists containing this project

README

        

![MTT logo](https://raw.github.com/brasofilo/Private-Comments-in-CPT/master/logo.png)

# Tuit Cycler
WordPress plugin for displaying a Widget with x numbers of Tweets from a specific User. Displays one tweet at a time, and rotates them using the jQuery Cycle Plugin.

## Description
Based on this [WordPress Question](http://wordpress.stackexchange.com/q/52074/12615).

Uses [jQuery Cycle Plugin](http://jquery.malsup.com/cycle/) and [jQuery Easing] (http://gsgd.co.uk/sandbox/jquery/easing/).

Function for grabbing the Tweets grabbed from the plugin [Twitter Hash Tag Shortcode] (http://wordpress.org/extend/plugins/twitter-hash-tag-shortcode/), by Bainternet.

A little trick for registering the Javascript files only when Widget active from this [WordPress Answer](http://wordpress.stackexchange.com/a/48385/12615), by One Trick Pony.

A little touch of style in the Widget admin area from this [WordPress Q&A](http://wordpress.stackexchange.com/q/3003/12615), by Jan Fabry.

## Screenshot
![Tuit Cycler](https://github.com/brasofilo/tuit-cycler/raw/master/screenshot.png)

##FAQ
Check [jQuery Cycle documentation](http://jquery.malsup.com/cycle/options.html) and configure the file [/js/tuit-widget.js](https://github.com/brasofilo/tuit-cycler/blob/master/js/tuit-widget.js).

The CSS for the frontend Widget is inside the function tuit_print_stylesheet ([line 54](https://github.com/brasofilo/tuit-cycler/blob/master/rb_tuit_cycler.php#L54)) of the plugin.

The individual tweets are printed in the [last lines](https://github.com/brasofilo/tuit-cycler/blob/master/rb_tuit_cycler.php#L175) of the plugin.

Line 183 displays the user image.

Line 184 is the actual tweet.

## Installation
### Requirements
* WordPress version 3.3 and later (not tested in previous versions)

### Installation
1. Unpack the download-package
1. Upload the file to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress

## Other Notes
### Licence
Released under GPL, you can use it free of charge on your personal or commercial blog.