Hi,
I added:
Code:
{sr_wpfeed var="someposts" wpsite="http://www.promartsupplements.co.uk/blog" num=2}
{foreach from=$someposts item=somepost}
<h2>
<a href="{$somepost.link}">
{$somepost.title}
</a>
</h2>
{$somepost.description}
<br>
{/foreach}
but I got the following errors:
Warning: simplexml_load_file() [function.simplexml-load-file]:
http://www.promartsupplements.co.uk/blog//feed:1: parser error : Document is empty in /home/promarts/public_html/include/templater/plugins/function.sr_wpfeed.php on line 91
Error: Smarty error: Error reading XML file in /home/promarts/public_html/Smarty-2.6.19/Smarty.class.php on line 1092
Warning: Invalid argument supplied for foreach() in /home/promarts/public_html/include/templater/plugins/function.sr_wpfeed.php on line 95
Any ideas what is causing the errors?
Thanks,