Title: Ajax Post Carousel
Author: anabelle
Published: <strong>26 ตุลาคม 2010</strong>
Last modified: 21 มกราคม 2011

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/ajax-post-carousel.svg)

# Ajax Post Carousel

 By [anabelle](https://profiles.wordpress.org/anabelle/)

[Download](https://downloads.wordpress.org/plugin/ajax-post-carousel.0.3.2.zip)

 * [Details](https://th.wordpress.org/plugins/ajax-post-carousel/#description)
 * [Reviews](https://th.wordpress.org/plugins/ajax-post-carousel/#reviews)
 *  [Installation](https://th.wordpress.org/plugins/ajax-post-carousel/#installation)
 * [Development](https://th.wordpress.org/plugins/ajax-post-carousel/#developers)

 [Support](https://wordpress.org/support/plugin/ajax-post-carousel/)

## Description

With Ajax Post Carousel you can display posts as a carousel using jQuery for animations.
The widget only preloads a few posts and Ajax is used to load more posts as the 
carousel advances (this is very useful when you have hundreds of posts).

The featured thumbnail of each post is used for the carousel, so at least WordPress
2.9 is required. The widget can be totally customized using CSS. Only the basic 
styles are defined so the carousel works properly.

**Features**

 * Posts can be selected from a category, a custom taxonomy or a post type.
 * Configurable number of posts shown in the carousel and number of preloaded posts(
   visible posts + posts loaded in the background)
 * Posts can be loaded in random order or using the default order (From most recent
   to oldest)
 * Carousel can be an endless loop
 * Title and excerpt can be shown. Thumbnail is always shown.
 * Can be used as a widget, a shortcode or a php function.

### BETA

Be adviced we are releasing this software as beta software.
 Our initial intention
is to gather feedback and collaboration.

After testing and approval the plugin will launch oficially.

Send us your comments to plugins@8manos.com

### HOW TO

 * Carousels can be added using Widgets, Shortcodes or a PHP function.
 * You can use the default styles included in the plugin or use your own css. Explained
   below.

#### Widget

This is the easiest way to add carousels to your site. Just drag the “Ajax Post 
Carousel” widget to an available area and configure all settings.

#### Shortcode

You can use it to include carousels in your posts or pages. Add [apc-carousel] to
use the default values.

All the options in the widget can also be used with the shortcode:

 * random: Accepts 0 or 1. (default 0)
 * visible_posts: Number of posts visible in the carousel. (default 3)
 * init_posts: Number of preloaded posts. Equals number of visible posts + number
   of posts in the background. (default 9)
 * show_title: Whether to show the title of the post. Accepts 0 or 1 (default 0)
 * show_excerpt: Whether to show the excerpt of the post. Accepts 0 or 1 (default
   0)
 * loop: Accepts 0 or 1 (default 0)
 * post_type: Slug of the post type. Accepts ‘post’, ‘page’, ‘all’ or any custom
   post type. (default ‘post’)
 * category: Slug of the category. (default ‘all’)
 * Posts can be filtered by taxonomy using: taxonomy-slug=term-slug

Example:

[apc-carousel visible_posts=2 init_posts=8 show_title=1 show_excerpt=1 my-taxonomy
=my-taxonomy-term]

#### PHP Function

The PHP function can be used in a theme template. The options and defaults are the
same as in the Shortcode:

Ajax_Post_Carousel::show_carousel($random=0, $visible_posts=3, $init_posts=9, $show_title
=0, $show_excerpt=0, $loop=0, $post_type=’post’, $category=’all’, $tax_filter=”)

$tax_filter uses this format: ‘my-tax-1=my-term-1&my-tax-2=my-term-2’

Example that returns the same output as the Shortcode example:

#### Use your own CSS

There are to ways to style the carousels using your own css.

 1. Copy the css file from wp-content/plugins/ajax-post-carousel/ajax_post_carousel.
    css into your theme directory and edit the copy.
 2. Define your own styles in your theme stylesheet. Just use the carousel id, so your
    rules have a higher priority than the rules from the plugin (for example: #apc_carousel_0.
    apc_thumb{border:none;})

## Screenshots

 * [[
 * This is default output of the plugin, you can customize it as much as you want
   using CSS. You will also find useful settings in the widget itself.

## Installation

 1. Upload `ajax-post-carousel` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Create widgets anywhere, using the ‘Widgets’ menu in WordPress. Or use the shortcode
    in your posts. Or use the php function in your theme templates.

## FAQ

  How can you not have FAQ?

This is the first public release, we welcome you to send us your comments and feedback
and don’t encourage production use without testing.

  Where can I send you feedback

plugins@8manos.com

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Ajax Post Carousel” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “Ajax Post Carousel” into your language.](https://translate.wordpress.org/projects/wp-plugins/ajax-post-carousel)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/ajax-post-carousel/),
check out the [SVN repository](https://plugins.svn.wordpress.org/ajax-post-carousel/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/ajax-post-carousel/)
by [RSS](https://plugins.trac.wordpress.org/log/ajax-post-carousel/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.3.2

 * Fixed bugs when clicking arrows too fast.

#### 0.3.1

 * Added ID to the carousels and improved the ways that custom styles can be defined.

#### 0.3

 * Carousels can be added using a Shortcode and/or a PHP function.
 * Post excerpts can be included now.
 * CSS styles improved so it looks better right out of the box.

#### 0.2.6

 * Fixed misscount when ‘all’ post types were selected.
 * Commented error_reporting(ALL). No more ugly error messages.

#### 0.2.5

 * Javascript file rewritten so there are no conflicts with other plugins.

#### 0.2.4

 * New feature: loop
 * Width bug in chrome resolved.

#### 0.2.3

 * Now has a good fallback when JS is disabled. Styles are more robust

#### 0.2.2

 * Fixed bug when all post types and all categories are selected.

#### 0.2.1

 * Fixed some bugs in Internet Explorer and Google Chrome.

#### 0.2

 * Posts can be selected from a category, a custom taxonomy or a post type.

#### 0.1

 * First working version.

## Meta

 *  Version **0.3.2**
 *  Last updated **15 ปี ago**
 *  Active installations **10+**
 *  WordPress version ** 2.9 or higher **
 *  Tested up to **3.0.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/ajax-post-carousel/)
 * Tags
 * [ajax](https://th.wordpress.org/plugins/tags/ajax/)[carousel](https://th.wordpress.org/plugins/tags/carousel/)
   [jquery](https://th.wordpress.org/plugins/tags/jquery/)[Slide](https://th.wordpress.org/plugins/tags/slide/)
   [slider](https://th.wordpress.org/plugins/tags/slider/)
 *  [Advanced View](https://th.wordpress.org/plugins/ajax-post-carousel/advanced/)

## Ratings

 3.5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/ajax-post-carousel/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/ajax-post-carousel/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/ajax-post-carousel/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/ajax-post-carousel/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/ajax-post-carousel/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ajax-post-carousel/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ajax-post-carousel/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/ajax-post-carousel/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://8manos.com/)