StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 06-26-2009, 10:18 AM
Craig Tuller's Avatar
Craig Tuller Craig Tuller is offline
Registered User
Pro Plus Member
 
Join Date: Sep 2008
Location: Raleigh, NC
Posts: 7,698
Default Re: changing query for hp featured

In future, make sure you provide all details of what you want the command to do.


To control the number of posts shown:
Quote:
<?php $recent = new WP_Query("order=ASC&showposts=2");while($recent->have_posts()) : $recent->the_post();?>
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Query CeeGee General Discussion 4 08-31-2010 09:01 PM
Need a little help in forming a query .. chadenicely General Discussion 10 06-06-2010 03:29 PM
Footer Query jonhill General Discussion 3 12-21-2009 03:12 PM
FCG query wgrant General Discussion 6 06-02-2009 06:48 PM
'Currently browsing' query blagdonred General Discussion 15 01-05-2009 06:14 PM


All times are GMT -5. The time now is 06:40 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.