![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
![]() Hi guys,
This is the deal. I wanted a site of mine to display certain infos/updates automatically from my blog. For example, if I create a new post on my blog here (site.com/blog) the title of this post and date, would automatically be displayed on the main page, in a box, (site.com/index.html). I'm pretty sure that can be easily done, but I can't find a code to do that ANYWHERE! The blog is here: http://www.multifocus.com.br/blog/ And I wanted to latest posts to be displayed here: http://www.multifocus.com.br/en/ - inside blog news. How can I do that???
__________________
I'm just a newbie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Aug 2008
Posts: 1,723
|
Sands is the most gangsteriffic gangster of WP - I bet he can help!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
Quote:
Or point me to him?? Or him to me????? ![]()
__________________
I'm just a newbie. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: Behind the monitor since 1988
Posts: 1,679
|
Many themes support widgets, you just need to setup an RSS widget in the side of the theme. Go to Appearances > Widgets
__________________
Got Web Host providing Website Hosting since 2002. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Feb 2007
Location: 418194907
Posts: 3,134
|
Might be easiest to just craft your own MySQL query to pull the latest post from the database that WP uses and print/style the output on your site's index.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
Quote:
Any chance you can create one for me for an easy $50? :P
__________________
I'm just a newbie. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
How would I use a widget on a static page that wasn't created on Wordpress?
__________________
I'm just a newbie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Feb 2007
Location: 418194907
Posts: 3,134
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Apr 2004
Location: Toronto, ON
Posts: 1,706
|
I've done this a bunch of times, there's several ways to go about it but the easiest is an SQL query in an outside script. Feel free to hit me up on ICQ if you still need help.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
__________________
I'm just a newbie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
ICQ: 197-556-237
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
|
If Sands can't help me out, I'll hit you up for sure..
__________________
I'm just a newbie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
I have a custom chunk of code I had done kicking around somewhere that pulls the titles from RSS feeds that would do what you want. I think. It runs a little script off a cronjob and updates the list however often. Listing the latest however number of post tiles. Probably not the best way, but that's how I had it setup. If you don't find a solution to your problem, hit me up and I'll dig up the code up off my server. I know it's nowhere locally on my desktop at the moment.
|
![]() |
![]() ![]() ![]() ![]() ![]() |