Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
get_posts
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pete Davis  
View profile  
 More options May 26 2011, 2:11 pm
From: Pete Davis <php.wizar...@gmail.com>
Date: Thu, 26 May 2011 19:11:31 +0100
Local: Thurs, May 26 2011 2:11 pm
Subject: [wp-docs] get_posts

get_posts()

the docs here seem a little sparse, particularly with regards to function
arguments

the problem i found today specifically, was that the "numberposts" argument
wasn't explicitly described that it a) has a default, and b) can be
overrided with -1 for all

can it not be described similar to the php.net documentation where each
permutation is described?

Pete

_______________________________________________
wp-docs mailing list
wp-d...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-docs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charles K. Clarkson  
View profile  
 More options May 26 2011, 9:05 pm
From: "Charles K. Clarkson" <cclark...@htcomp.net>
Date: Thu, 26 May 2011 20:05:01 -0500
Local: Thurs, May 26 2011 9:05 pm
Subject: Re: [wp-docs] get_posts
On 5/26/2011 1:11 PM, Pete Davis wrote:
> can it not be described similar to the php.net <http://php.net>

 > documentation where each permutation is described?

wp_list_categories() has a good model to follow.
http://codex.wordpress.org/Template_Tags/wp_list_categories

Edit the Parameters section to see how it is done there and
use that format.

HTH,

Charles Clarkson
--
Mobile Home Investor
Free Market Advocate
Programmer

I'm not really a smart person. I just play one on the Internet.

Stephenville, TX
http://twitter.com/CharlesClarkson
+1 (254) 968-8328
_______________________________________________
wp-docs mailing list
wp-d...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-docs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »