0

Display RSS Feed

It’s free RSS reader to display feed inside sidebar for any OpenCart theme.  There are a few parameters could be specified in admin (Extension/Modules/Feed Display) after all files being uploaded and module installed. Only content of <title> nodes are display.

Settings:

  • Unlimited number of feeds. For example: different feeds could be displayed on home, brand, and info pages.
  • Custom title
  • Number of items to display
  • AJAX call module’s controller.

If you would like to display ‘Featured Images’ for WordPress you need to add the following code in functions.php file for your WordPress theme:

add_action('rss2_item', 'add_my_rss_node');
function add_my_rss_node( ) {
 if( has_post_thumbnail() ):
 $thumbnail = wp_get_attachment_url (get_post_thumbnail_id ());
 echo "<image>{$thumbnail}</image>";
 endif;
}

Demo: https://www.alcher.biz/

Display RSS Feed
Display RSS Feed » Post
feed-displayed-ajax-1.2.zip
Version: 1.2
12.8 KiB
11 Downloads
Details

alcher

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.