Import and display media from feeds in your blog in various ways.
Author: | (profile at wordpress.org) |
WordPress version required: | 3.5 |
WordPress version tested: | 3.5.2 |
Plugin version: | 0.2.1.1 |
Added to WordPress repository: | 12-03-2013 |
Last updated: | 14-06-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | |
Total downloads: | 2 549 |
Active installs: | 10+ |
Click to start download |
Use following code with a PHP-Plugin or in a template, example sidebar.php
or single.php
, for WordPress:
Example (shows last 10 items from the specified feed with Galleria plugin):
Example for shortcode:
[rssmedia template=”sidebar” limit=”10″ url=”http://example.com/feed/”]
Parameters:
template
– Name of the template which will be used to display content of
the feedlimit
– How many items, Default is5
url
– Address of feed, default ishttp://example.com/feed/
Available templates
- Galleria [
galleria
] – Shows product thumbs and images with Galleria JS
library. - Galleriffic [
galleriffic
] – Shows product thumbs and images with
Galleriffic JS library. - jCarousel [
jcarousel
] – Show carousel with product thumbs
(uses jCarousel JS library). - Featured products slideshow [
featured-slideshow
] – Slideshow with full
product’s image and description (uses jquery.tools JS library). - Sidebar [
sidebar
] – Simple template for sidebar widget. Shows product
thumbs in several columns. - Sidebar (images and text) [
sidebar-list
] – Template for sidebar widget.
Shows list of items with product thumb, title and product details when mouse
is over thumb.
Adding templates
Every template consistes from four files: before.php, content.php and
after.php.
- setup.php – used to configure template and add scripts and styles
- before.php – used before repeating part of feed (feed items)
- content.php – used to display feed’s items
- after.php – used after repeating part of feed
Template should be placed in its own directory in ‘templates’ directory of
plugin’s root.
Example of directory structure:
wp-content/plugins/rss-media/templates//{setup.php, before.php, content.php, after.php}
Also JS scripts and CSS files which are used in the template should be placed in
its directory.