DWUser.com

Empowering Web Creativity

EasyRotator KnowledgeBase – RSS Feed Compatibility

When rotators appear in posts that are syndicated via a WordPress site's RSS feed, EasyRotator automatically displays only the rotator's first photo in the RSS feed.  This is because RSS feeds do not support JavaScript and other technologies needed to display the full, functional rotator.

Here is the code format used for this replacement:

<div class="easyRotatorWrapper easyRotatorWrapperRSS" align="center">
    <img src="path/to/first/image.jpg" class="easyRotatorRSSPreviewImg" />
    <!--easyRotatorRSSPreviewText-->
</div>

You may want to customize this view and provide additional information, so that users who view your feed know that a full rotator can be viewed on your actual website.  For example, you might want to display a link below the photo that says Click to view slider.  To add this level of customization, you need to be familiar with basic theme editing and comfortable writing simple PHP code. 

Add code such as the following to your theme's functions.php file: 

function easyrotator_rss_customization($content)
{
if (is_feed())
{
$replace = '<br /><a href="' . get_permalink() . '">Click to view slider</a>';
$content = str_replace('<!--easyRotatorRSSPreviewText-->', $replace, $content);
}
return $content;
}
add_filter('the_content', 'easyrotator_rss_customization', 1000);

We're Here to Help!

If you have any questions about this article or about using EasyRotator for WordPress, please let us know by opening a support ticket below.

 
Log In
  Reset Password...
 
Why create an account?
  • Manage support tickets and purchases
  • Access to free extensions
  • Special discounts and offers
  • Access to member-only forums
Create Account
100% Spam-Free Guarantee
(Optional)
 

Use the following form to ask a question or submit a support request. An appropriate staff member will reply as soon as possible (usually within a few hours).
Contact Us / Create Support Ticket
 
To attach files, you must Sign Up or Log In.

You have no items in your basket.  Featured products:

XML Flash Slideshow v4 Flash Audio Kit for Dreamweaver

Home | Customer Satisfaction / Refund Policy | Privacy Policy | jQuery Slider | Top of Page

© 2003-2018 DWUser.com / Magnetic Marketing Corp.  All rights reserved.