Oprano Adult Industry Forums

Oprano Adult Industry Forums (http://www.oprano.com/msgboard/index.php)
-   Legacy Archived Main Board (http://www.oprano.com/msgboard/forumdisplay.php?f=25)
-   -   Wordpress Gurus in here! (http://www.oprano.com/msgboard/showthread.php?t=92432)

DannyCox 10-06-2008 02:37 PM

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.

RawAlex 10-06-2008 04:22 PM

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.

DannyCox 10-06-2008 05:03 PM

Re: Wordpress Gurus in here!
 
I was just hoping someone had a simple hack before I tried anything ;)

helix 10-06-2008 06:36 PM

Re: Wordpress Gurus in here!
 
maybe this? http://wordpress.org/extend/plugins/recent-posts/

Hell Puppy 10-06-2008 09:55 PM

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.

DannyCox 10-07-2008 02:39 AM

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.

Dravyk 10-07-2008 07:51 PM

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.

DannyCox 10-07-2008 11:10 PM

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.

Hell Puppy 10-07-2008 11:18 PM

Re: Wordpress Gurus in here!
 
Quote:

Originally Posted by DannyCox (Post 820874)
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.

A little .htaccess file magic can make it parse that html file as php.


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