Commit Graph

178 Commits

Author SHA1 Message Date
Ryan Boren 8629ed18c3 Improve plugin hooks for rewrite manipulation. Allow pluggable template redirection.
git-svn-id: https://develop.svn.wordpress.org/trunk@1910 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-04 00:12:08 +00:00
Ryan Boren dd4e4b9df6 Move rewrite and permalink functions into WP_Rewrite class.
git-svn-id: https://develop.svn.wordpress.org/trunk@1908 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-03 02:38:11 +00:00
Ryan Boren 61ce5ed685 Add posts_join filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@1905 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-01 06:52:26 +00:00
Ryan Boren 63add842a8 Load paged.php for is_paged(). Paging no longer makes is_archive() true. Bug 500.
git-svn-id: https://develop.svn.wordpress.org/trunk@1904 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-29 23:37:29 +00:00
Ryan Boren 6641104194 Add is_paged().
git-svn-id: https://develop.svn.wordpress.org/trunk@1871 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-20 18:32:31 +00:00
Ryan Boren 00d3226b7b Add $post_per_archive_page to override the number of posts to show for an archive page. Turn off paging if $post_per_* are set to -1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1835 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-27 23:58:40 +00:00
Ryan Boren ad7e0b673b Use page_id=xx instead of p=xx&static=1
git-svn-id: https://develop.svn.wordpress.org/trunk@1759 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-08 08:06:21 +00:00
Ryan Boren 1268dcb29b Extend is_single(), is_page(), is_category(), and is_author() to accept an optional argument which designates a particular id, name, or nicename.
git-svn-id: https://develop.svn.wordpress.org/trunk@1728 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-02 19:24:40 +00:00
Ryan Boren c6ee28749c Use get_query_var to get the search terms.
git-svn-id: https://develop.svn.wordpress.org/trunk@1714 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 00:46:42 +00:00
Ryan Boren 5980b30da1 If the query is for a page, make sure single is false.
git-svn-id: https://develop.svn.wordpress.org/trunk@1645 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-14 06:56:13 +00:00
Ryan Boren bce7d33025 Use get_query_var() to get cat and name so that we pick up any processing done on them by the query.
git-svn-id: https://develop.svn.wordpress.org/trunk@1629 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-09 03:45:51 +00:00
Matt Mullenweg f0edc5ccf7 Retrospam check from Kitten
git-svn-id: https://develop.svn.wordpress.org/trunk@1620 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 08:17:53 +00:00
Ryan Boren 4e7e0194b5 Paging by days fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@1618 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 00:02:53 +00:00
Ryan Boren 6a98ee3737 New page by day code from Sebastian Herp.
git-svn-id: https://develop.svn.wordpress.org/trunk@1614 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-06 20:03:16 +00:00
Ryan Boren 3d451b067e Add missing join to page by day query.
git-svn-id: https://develop.svn.wordpress.org/trunk@1613 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-06 03:03:08 +00:00
Ryan Boren 7ec1b62a42 Remove left over debug output.
git-svn-id: https://develop.svn.wordpress.org/trunk@1611 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 20:06:01 +00:00
Ryan Boren 24fd61e7fc Improve paging by days. Retabify source.
git-svn-id: https://develop.svn.wordpress.org/trunk@1610 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 20:00:09 +00:00
Ryan Boren b9fc57acbc 404 permalink handler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1570 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-27 20:59:38 +00:00
Ryan Boren 8da2215076 Template redirection.
git-svn-id: https://develop.svn.wordpress.org/trunk@1558 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 08:43:01 +00:00
Ryan Boren 046c5333e8 Add is_year(), is_month(), is_day(), is_time().
git-svn-id: https://develop.svn.wordpress.org/trunk@1556 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 01:24:48 +00:00
Ryan Boren 3db73193ef Paging cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@1536 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-16 22:50:06 +00:00
Ryan Boren 38088a0503 Use sanitize_title() to process post, page, author, and category names in the query.
git-svn-id: https://develop.svn.wordpress.org/trunk@1533 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-14 16:08:57 +00:00
Ryan Boren 01b53facab Add pagename query var.
git-svn-id: https://develop.svn.wordpress.org/trunk@1531 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-11 01:55:34 +00:00
Ryan Boren ec57c1a114 Static pages. Take 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1527 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-10 05:35:59 +00:00
Ryan Boren cf3a6080bd WP Query class.
git-svn-id: https://develop.svn.wordpress.org/trunk@1516 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 15:31:50 +00:00
Ryan Boren fdaf705b04 Support timestamp permalinks. Make wider use of is_single(). Bug 0000194.
git-svn-id: https://develop.svn.wordpress.org/trunk@1491 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 02:43:54 +00:00
Ryan Boren d605d2aa6f Fix for 0000190. Do not set the category query state to true if single, date, or search are true.
git-svn-id: https://develop.svn.wordpress.org/trunk@1490 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 01:59:29 +00:00
Ryan Boren 4c0a18c68e Add WP_Query_State class. Introduce is_single(), is_archive(), and friends.
git-svn-id: https://develop.svn.wordpress.org/trunk@1449 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-30 15:31:49 +00:00