Go Back   Netpond ™ > Webmaster Forums and Resources > Blogging Forum
Register FAQ Calendar Radio and TV NP Shop Search Today's Posts Mark Forums Read

Blogging Forum Blogging Discussion Forum, links and tools.

Shemale
Live Sex Cams Leased Content Orgy, Pissing, Shemale
Reply
 
LinkBack Thread Tools Display Modes
Old 03-12-2008, 09:24 PM   #1 (permalink)
AnneT
Lets all help Meat find a wife
 
Join Date: Oct 2007
Posts: 278
Points: 1,390
Recent posts PHP call in WP sidebars

Does anyone know the php call for recent posts in Wordpress?

I have this for pages:

<?php wp_list_pages('sort_column=menu_order&title_li='); ?>

I tried this for posts:

<?php wp_list_posts('sort_column=menu_order&title_li='); ?>

Didn't work LOL. It must be there somewhere. Any ideas?
__________________
Trade with my blogs: Links Organizer

OR use: My Thunder Ball Profile
AnneT is offline   Reply With Quote Send a private message to AnneT
Old 03-12-2008, 09:53 PM   #2 (permalink)
AnneT
Lets all help Meat find a wife
 
Join Date: Oct 2007
Posts: 278
Points: 1,390
I should point out, this is for the sidebar template. I've got as far as this now:

get_posts()

Still not working but at least it's a valid call now. Does anyone know the arguments for 10 posts, ordered by date?
__________________
Trade with my blogs: Links Organizer

OR use: My Thunder Ball Profile
AnneT is offline   Reply With Quote Send a private message to AnneT
Old 03-12-2008, 09:59 PM   #3 (permalink)
AnneT
Lets all help Meat find a wife
 
Join Date: Oct 2007
Posts: 278
Points: 1,390
Don't worry - I worked it out For future reference, this should work fine:

<ul>
<?php
$lastposts = get_posts('numberposts=10');
foreach($lastposts as $post) :
setup_postdata($post);
?>
<li><a href="<?php the_permalink(); ?>" id="post-<?php the_ID(); ?>"><?php the_title(); ?></a></li>
<?php endforeach; ?>
</ul>
__________________
Trade with my blogs: Links Organizer

OR use: My Thunder Ball Profile
AnneT is offline   Reply With Quote Send a private message to AnneT
Old 03-14-2008, 07:00 AM   #4 (permalink)
Eagle
Im starting to love this place and the points dont matter lol
 
Join Date: Nov 2007
Posts: 26
Points: 130
You could use the Rss widget for that.
Eagle is offline   Reply With Quote Send a private message to Eagle
Old 03-14-2008, 08:14 AM   #5 (permalink)
docputer
Moderator
 
docputer's Avatar
 
Join Date: May 2006
Location: Midwest USA
Posts: 3,820
Points: 530
Send a message via ICQ to docputer Send a message via Yahoo to docputer
Samsarin PHP works great for that
docputer is offline   Reply With Quote Send a private message to docputer
Old 03-15-2008, 12:12 AM   #6 (permalink)
AnneT
Lets all help Meat find a wife
 
Join Date: Oct 2007
Posts: 278
Points: 1,390
I wanted to hardcode it for this project. It's good stuff to know anyway
__________________
Trade with my blogs: Links Organizer

OR use: My Thunder Ball Profile
AnneT is offline   Reply With Quote Send a private message to AnneT
Reply


Thread Tools
Display Modes



Netpond Resources
Resource Directory Tutorials & Articles Webmaster Tools Netpond News
 
Netpond Resources
LoveDollars WildCash PussyCash SilverCash
Fetish Hits Cyberwurx BoobBucks.NET Python
AEBN GroobyBucks Score-Cash XMoney
Rabbits Reviews CraziesCash TrafficCashGold EvilAngelCash
Orgycash BigClicks Webcams TubeClicks
Free Porn Paradise British Porno British Porn Models ShanesworldCash
Live Sex Cams Amateur, Fetish, Gay, HD, Reality, Solo Girl
All times are GMT -4. The time now is 06:25 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007, PixelFX Studios