[wp-hackers] next day's post / previous days post

Mark Shields marks at ibbsonline.com
Sun Jun 27 12:42:32 UTC 2004


I can help with that.  The breadcrumb plugin I (re-)wrote uses $p, $cat, 
$author, $m, $s.  It also uses $single to detect if you're viewing a 
single post (that was added by Laughing Lizard, but isn't actually a 
variable value you can change via $_GET, so my point is moot).

The $cat returns the category ID (which does correspond to the category 
name, description, etc.).  $p  returns the post ID (which corresponds to 
the post name, etc.).  $author and $m return pretty much the same.  $s 
returns a search string.

scriptygoddess wrote:

>Unfortunately no. While I can't find the documentation, I played
>around with it... maybe someone can just verify my assumptions about
>the query strings?
>
>?p= will show the postid
>
>?m= will always show an archive page in the following manner
>
>?m=YYYY (year archive for YYYY year)
>?m=YYYYMM (month archive...)
>?m=YYYYMMDD (day archive...)
>(Is there any other combinations for the ?m= query string?)
>
>What other query strings are there?
>The template page talks about a cat querystring ?cat=
>I think that just takes a number (which corresponds to the id of the
>category) ?? (confirm? deny?) :)
>
> 
>-----------------------------------------
>www.scriptygoddess.com
>www.theworkingmom.net
>
>_______________________________________________
>hackers mailing list
>hackers at wordpress.org
>http://wordpress.org/mailman/listinfo/hackers_wordpress.org
>
>
>
>  
>




More information about the hackers mailing list