WordPress.org

Ready to get started?Download WordPress

Plugin Directory

TweetMachine for WP

Adds a Live Twitter Widget usning jquery-tweetMachine

How do i use my own stylesheet/CSS?

First go to the plugin configuration page(Settings->TweetMachine) and scroll down to the "Customization" section. Here you will find the "Use plugin CSS" option. Uncheck this. Then I would recommend you to copy the the default CSS(you find it by clicking "Default file") to your theme. This will be a good starting point for your modifications in most cases. You can ether copy the CSS and paste it into your themes style.css or you can create a new file and include it with the following line somewhere in your theme's functions.php:

wp_enqueue_style( 'TweetMachine-custom-style', get_template_directory_uri().'/path/to/tweet_machine.css' );

How do I change the markup/HTML that's being generated?

Use the "Custom markup" field. Documentation for this is on the configuration page.

How do I use my own loader script(Javascript)?

The recommended way to do this is to add the URL to your replacement script on the configuration page. This actually makes it possible continue to use the configuration page as it is! The plugin uses wp_localize_script() to inject the options form the configuration page into the Javascript. All options are saved into the tweetMachineData object. See the default loader for more details. The other not recommended option is to disable the script loading in the plugin completely and load the script yourself. If you do this and want to access the options, use "tweetMachine-widget-script" as the script handle in the wp_enqueue_script() call. For latest documentation, see the jQuery Tweet Machine GitHub page.

Requires: 3.5 or higher
Compatible up to: 3.5.2
Last Updated: 2013-4-8
Downloads: 144

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.