![]() |
I need help with a Wordpress problem!! HELP!!
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??? |
Sands is the most gangsteriffic gangster of WP - I bet he can help!
|
Quote:
Or point me to him?? Or him to me????? :upsidedow |
Many themes support widgets, you just need to setup an RSS widget in the side of the theme. Go to Appearances > Widgets
|
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.
|
Quote:
Any chance you can create one for me for an easy $50? :P |
Quote:
|
Quote:
|
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.
|
Quote:
...... |
Quote:
|
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.
|
All times are GMT -7. The time now is 01:28 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123