[wp-hackers] next day's post / previous days post
scriptygoddess
scriptygoddess at gmail.com
Mon Jun 28 00:25:28 UTC 2004
I've got most of the plugin I needed done here:
http://www.scriptygoddess.com/archives/2004/06/27/previous-archive-date-next-archive-date-links/
but because I'm relying on getting that current archive page via the
"$_GET['m'] - obviously, with permalinks, it's not working...
Mark - I take it combined with your plugin, I could get that data with
just $m? Where is your breadcrumb plugin?
Matt - YES! That's where I saw it!! LOL! That's really weird that it's
in the readme and nowhere in the documentation on the wiki or
wordpress.org sites.
-Jenn
On Sun, 27 Jun 2004 08:42:32 -0400, Mark Shields <marks at ibbsonline.com> wrote:
>
> 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
> >
> >
> >
> >
> >
>
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
>
--
-----------------------------------------
www.scriptygoddess.com
www.theworkingmom.net
More information about the hackers
mailing list