Well I'm wondering if there's a way to request wordpress posts on another phpfile ( external ), so I can display them with ajax include tabs on my main page.
for example
Post Title 1
Content .....
( read more )
//repeat.
Well I'm wondering if there's a way to request wordpress posts on another phpfile ( external ), so I can display them with ajax include tabs on my main page.
for example
Post Title 1
Content .....
( read more )
//repeat.
RSS feeds are great for this sort of thing. Google "magpie rss" for a PHP library that will grab and cache the feed. Since your blog's feed gets cached for an hour by magpie, this keeps your external php file quick.
If you're looking for greater flexibility (and if you have more PHP experience), there's another way: include() your blog's wp-blog-header.php, then construct a custom query and loop.
Thanks for your excelent advice! It helped me alot :D
This topic has been closed to new replies.