Another Quick Tip! Yay! Last night I discovered how easy it is to  add snippets of blog posts to other non wordpress pages (check out my homepage) with Simplepie and I thought I would show you guys how! Leave a comment and let me know what you guys think or if you have any questions!

Click read more to get the code snippets and see simple pie in action!

Download Simple Pie: http://simplepie.org/

Installing Simple Pie: http://simplepie.org/wiki/setup/setup

Code that goes at the top of your page:

[]
< ?php

// This shows where simple pie is located simplepie.inc.
require_once(‘php/simplepie.inc’);

// Your Feed Address
$feed = new SimplePie(‘http://feeds2.feedburner.com/designoblog’);

$feed->handle_content_type();

?>

[/]

And the code to throw in where you want the blog posts to show up:

[ language="php"]

< ?php foreach ($feed->get_items() as $item): ?>

Subscribe to Quick Tips in Itunes