View Single Post
  #14  
Old 01-24-2011, 06:13 AM
 
geckoday geckoday is offline
 

X-Wizard
  
Join Date: Aug 2005
Posts: 1,073
 

Default Re: Display latest Wordpress Posts

Sorry, my example usage has a mistake. You need to use $somepost instead of $someposts inside the foreach loop like this:
Code:
{sr_wpfeed var="someposts" wpsite="http://www.snowriver.com/uggs-and-more" num=2} {foreach from=$someposts item=somepost} <h2> <a href="{$somepost.link}"> {$somepost.title} </a> </h2> {$somepost.description} <br> {/foreach}
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]

UGG Boots and other fine sheepskin products
http://www.snowriver.com
Reply With Quote