Plugin / Ajax Post Carousel

Mantish - 8manos

Description

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 [email protected]

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;})

Ratings

3.5
2 reviews

Rating breakdown

Details Information

Version

0.3.2

First Released

22 Oct, 2010

Total Downloads

9,577

Wordpress Version

2.9 or higher

Tested up to:

3.0.5

Require PHP Version:

-

Tags

Contributors

This plugin has been closed.

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.