Always backup files before making any changes
Upload the entire "sunpress-exchange" folder to your plugins folder
Activate the plugin as normal
Go to the Sunpress Exchange tab under your Options menu and change the three variables
In your template file for single.php, paste <?php sunpress_exchange_block(); ?> where you want the block to appear; probably directly after <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
OPTIONAL STEPS
To use just one RSS feed for all your posts, in your template file for single.php, paste <?php sunpress_exchange_block('rss_feed_url'); ?> where you want the block to appear; probably directly after <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>. Replace rssfeedurl with the address of the RSS feed.
To display a compact version of the widget, replace <?php sunpress_exchange_block(); ?> with: <?php sunpress_exchange_compact_block('', 'widget_title'); ?> or <?php sunpress_exchange_block('rss_feed_url'); ?> with <?php sunpress_exchange_compact_block('rss_feed_url', 'widget_title'); ?>. Replace rssfeedurl with the address of the RSS feed and widget_title with the name of your widget, which will be displayed above the offers on the page.
The compact version of the widget works exactly the same as the standard sized widget - it's just smaller. You can use a static RSS feed across all posts or with dynamic RSS feed URLs specified in your blog post as per normal.
The compact version is not formatted. It will use inheritted styles from your Wordpress theme. You can overwrite this by adding clauses to your Wordpress theme stylesheet. The output is wrapped with the class: .sunpress_exchange_compact.
EXTRA STEPS FOR SUNPRESS CONTENT TOOLS USERS
If you are running the SunPress widget, there's a couple of changes you need to make just to tidy things up:
add_filter('the_content', array(&, 'add_meta'));
Change this to:
// add_filter('the_content', array(&, 'add_meta'));
Save then upload this file.
<?php hotel_rating(); ?> in single.php - usually after <div class="entry">



