Title: AJAXed Twitter for WordPress
Author: alexh
Published: <strong>29 de gener de 2010</strong>
Last modified: 7 de juny de 2010

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://s.w.org/plugins/geopattern-icon/ajaxed-twitter-for-wordpress.svg)

# AJAXed Twitter for WordPress

 Per [alexh](https://profiles.wordpress.org/alexh/)

[Baixa](https://downloads.wordpress.org/plugin/ajaxed-twitter-for-wordpress.0.5.1.zip)

 * [Detalls](https://ca.wordpress.org/plugins/ajaxed-twitter-for-wordpress/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/ajaxed-twitter-for-wordpress/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/ajaxed-twitter-for-wordpress/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/ajaxed-twitter-for-wordpress/#developers)

 [Suport](https://wordpress.org/support/plugin/ajaxed-twitter-for-wordpress/)

## Descripció

This plugin is based on [«Twitter for WordPress»](https://wordpress.org/extend/plugins/twitter-for-wordpress/)
1.9.7 by [Ricardo González](http://rick.jinlabs.com/).

It supports [MooTools](http://mootools.net/) as well as jQuery which comes with 
WordPress and can be used as a widget.

## Instal·lació

You can use this plugin as a widget or add it manually to your theme. In widget-
mode it depends on jQuery (the one that comes with WordPress is sufficient).

#### Widget

Use the management functionality for widgets provided by WordPress (simply drag 
and drop, edit the preferences, save).

#### Manual Installation

First of all tell the plugin (in wp_config.php) which framework to use:

    ```
    define('AJAXED_TWITTER_FRAMEWORK', 'mootools');
    ```

You can also use ‘both’ which will allow you to add a widget and the MooTools version.

I did not include a release of MooTools, so you will have to add a script tag _before
wp\_head();_ like this (and of course provide that script there):

    ```
    <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/scripts/mootools-1.2.4-core-yc.js"></script>
    ```

Then you need a PHP-file that can be called by the JavaScript part, for example 
you could put a file named «twitter.php» with the following content in your theme
folder. This is only an example and you can do whatever you like to get the tweets.

    ```
    if (!defined('DB_NAME')) {
        require_once("../../../wp-config.php");
    }

    echo AJAXedTwitter::messages(array(
        'username' => 'username'
    ));
    ```

The Twitter-class is easy to configure (and already enqueued by the plugin).

    ```
    var twitter = new Twitter('tweets', {
        url: '/blog/wp-content/themes/yourtheme/twitter.php',
        retries: 2,
        animate: true
    });
    ```

In this example the element ‘tweets’ (that could be e.g. in your sidebar) is replaced
by a public timeline after the page is loaded.

Additionally to the CSS classes provided by «Twitter for WordPress» this plugins
provides first/last for list items.

For more details (options, configuration) visit [the plugin hompage](http://derhofbauer.at/blog/ajaxed-twitter-plugin-for-wordpress/).

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«AJAXed Twitter for WordPress» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

 *   [ alexh ](https://profiles.wordpress.org/alexh/)

[Traduïu «AJAXed Twitter for WordPress» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/ajaxed-twitter-for-wordpress)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/ajaxed-twitter-for-wordpress/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/ajaxed-twitter-for-wordpress/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/ajaxed-twitter-for-wordpress/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/ajaxed-twitter-for-wordpress/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 0.5.1

 * Escape single quotes in passed options.
 * Unset not needed options.

#### 0.5

 * Bugfixed custom title
 * Implemented WP 2.8 Widget API (allows mupltiple widgets now)
 * Rewrote to allow multiple instances, even MooTools and jQuery

#### 0.4

 * Widget does not depend on MooTools any more or require editing of the theme

#### 0.3.1

 * Fixed problem with forgotten timeout definition

#### 0.3

 * Implemented own copy of fetch_rss() for seperated cache handling
 * Added option «cache expiry» (cache-age), defaulting to half an hour

## Meta

 *  Versió **0.5.1**
 *  Darrera actualització **fa 16 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 2.8 o posterior **
 *  Provada fins a **3.0.5**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/ajaxed-twitter-for-wordpress/)
 * Etiquetes
 * [ajax](https://ca.wordpress.org/plugins/tags/ajax/)[twitter](https://ca.wordpress.org/plugins/tags/twitter/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/ajaxed-twitter-for-wordpress/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[La vostra ressenya](https://wordpress.org/support/plugin/ajaxed-twitter-for-wordpress/reviews/#new-post)

[Visualitza totes les ressenyes](https://wordpress.org/support/plugin/ajaxed-twitter-for-wordpress/reviews/)

## Col·laboradors

 *   [ alexh ](https://profiles.wordpress.org/alexh/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/ajaxed-twitter-for-wordpress/)