Some SimplePie Wordpress Templates For Real Estate Agents

I’ve been writing a lot about SimplePie and as I do it, I’m remembering how frustrating it was for me (with pretty much zero php knowledge) to get it working on my wordpress site. So, here’s some help. First, make sure you’ve installed all three of the plugins mentioned here: Then, be sure to make sure you have a writable cache directory at wp-content/uploads/cache. (Permissions 755 I think, or I usually just go for the gold and roll with 777.) Then… And here’s the tricky part you seemingly can’t find in any of the documentation: You need to change bend the template files found at plugins/simple-pie-plugin-for-wordpress/templates. You can basically mess with the html to control how each rss entry is output… Then, include this inside your post/page/ or sidebar. (Remember, exec-php has to be properly set up for any of this to work)
< ?php echo SimplePieWP('http://www.trulia.com/rss2/sold/York,PA/365_pr/', array( 'items' => 100, ‘cache_duration’ => 1800, ‘template’ => blog_style, ‘date_format’ => ‘j M, g:i a’ )); ?>
Notice the url with the “trulia” in it is an rss feed. You’ll want to throw the one you’re pulling from here. Also, “items” is the number of entries from the feed you want to display, and ‘template’ is the name of the template file you’ve set up. That’s about it. I’m sure there’s a lot more you could do with this thing, but what I’ve just described has served me very well, so I haven’t had the need to delve further. Feel free to be in touch with any questions… -Ryan




People Who Comment Make More Money?

*

Click here to Get ReTechulous By Email