![]() |
Wordpress Gurus in here!
Okay guys, have a question. We're using Wordpress for a Blog as part of Carol's website. I am redoing the free area of her main page, and I want to put the titles of the latest Blog postings on the main index page on her site, without having to manually do it. Is there a Plug-in that will handle that?? I've been looking, but the lay-out of the Wordpress plug-ins makes it a real pain to find anything.
Thanks for any help. |
Re: Wordpress Gurus in here!
Danny, a simple trick is just do something in php to open and query the database directly, and pull the titles (and posts if you want). It's a pretty effective way to do things.
|
Re: Wordpress Gurus in here!
I was just hoping someone had a simple hack before I tried anything ;)
|
Re: Wordpress Gurus in here!
|
Re: Wordpress Gurus in here!
Simpler than that, tons of RSS PHP code out there.
Use Wordpress' RSS feed and put it in cell somewhere on her free pages. |
Re: Wordpress Gurus in here!
Okay, I just wrote a quick PHP script to grab the post headers and links from the RSS, write them to a page, and then I grab that in an iFrame. Not elegant, but it works.
|
Re: Wordpress Gurus in here!
Yep RSS is the best easiest way. Do you need the IFrame? Just an "include" should do it, I'd have thought. Guess it depends if the original page is PHP or not. If not, the way you came up with is probably the best, Danny.
|
Re: Wordpress Gurus in here!
The page is a basic html. I didn't want to use a shtml extension, so I didn't do an include. But it's working fine.
|
Re: Wordpress Gurus in here!
Quote:
|
| All times are GMT -4. The time now is 12:07 PM.. |
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright Evil Empire Inc. 2006-2022