rboren
5e06010606
Add category_link filter.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-26 22:49:18 +00:00
rboren
375e821211
Filter category description. Bug 727. Hat tip: dmclark
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 03:06:56 +00:00
saxmatt
7f98c031a7
Some feed template function cleanup.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 22:01:59 +00:00
rboren
40c697b18f
Keep it separated.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-04 23:29:13 +00:00
saxmatt
637cfdc7a4
Cleaning up blogfilename.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-24 01:34:47 +00:00
saxmatt
c3e1d51c20
Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-12 20:41:19 +00:00
saxmatt
5237112e3f
Related to: http://mosquito.wordpress.org/view.php?id=225
...
Allow optiondates to be a PHP date() formatted timestamp, maintains backward compatibility.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 01:30:34 +00:00
rboren
b1a4a04126
Move rewrite and permalink functions into WP_Rewrite class.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-03 02:38:11 +00:00
rboren
1d5e3d4f3c
Check for null category list just in case of borkage.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-15 06:00:21 +00:00
rboren
acfb79c47e
Sort the category list so that index associations are made non-sparse.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-12 23:08:51 +00:00
rboren
ea16450f63
Static pages. Take 1.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-10 05:35:59 +00:00
rboren
96db009381
Quote $id in get_the_category() db query. Patch from MCincubus for bug 0000191.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-27 14:58:30 +00:00
rboren
eedeb9dea1
Add missing breaks to the_category().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-22 01:42:24 +00:00
rboren
6fd6b1080d
stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-18 00:22:09 +00:00
jverber
98603cefa5
Changed (wp_)list_cats. children argument now determines if categories below top level are displayed, and hierarchical determines if the list is displayed hierarchically.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 19:01:01 +00:00
rboren
a56fac823a
Guard against empty $cat_counts array. http://wordpress.org/support/3/6080
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-06 07:21:58 +00:00
rboren
12dea3832c
Add %category% support to get_permalink.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-04 02:36:46 +00:00
rboren
2367e7cef2
Apply the list_cats filter to the cat name. Credit: Jaykul. http://wordpress.org/support/4/6242
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 22:09:38 +00:00
rboren
bd9c5a9bb4
Fix up the_category_ID() and the_category_head() to maintain backwards compat. Mark as deprecated.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-27 21:19:37 +00:00
saxmatt
25ae03ee65
Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 08:22:18 +00:00
emc3
44344bdcd7
Fixed list_cats support for hide_empty and optioncount. Also fixed indentation in that function.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-20 14:07:55 +00:00
saxmatt
79de611ce9
Simple function to check if a post is in a category.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-18 08:18:38 +00:00
emc3
812ad5dbc3
Only used published posts.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 19:44:23 +00:00
michelvaldrighi
620accf191
fix for the bug that made list_cats show empty categories, thanks to brux
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 16:20:38 +00:00
michelvaldrighi
cb1f6849e2
(sue me, I had committed with debug junk still in there)
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 16:41:16 +00:00
michelvaldrighi
8eee2ded8b
adding wp_filter support to the_category, the_category_rss, and list_cats
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 16:34:03 +00:00
saxmatt
cdc9a55ad9
Various fixes and cleanups, inspired and pointed out by Joseph Scott.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 05:47:02 +00:00
saxmatt
4915acfefd
Fixes for silly category_base stuff. Now lets it be blank and acts accordingly, more sane.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 02:52:27 +00:00
saxmatt
b4a0d174d8
Some E_ALL fixes.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 21:29:23 +00:00
saxmatt
8309fe9c31
Missed the cat call.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 07:59:51 +00:00
saxmatt
5a391b5bc8
Some style cleanup. Category base and additional URI options from Jay McCarthy.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 07:34:41 +00:00
emc3
f974380ee3
Added 'exclude' parameter to wp_list_cats()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-30 18:28:50 +00:00
saxmatt
4e4cb4e004
Allow WordPress installation URI and blog URI to be different.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 07:27:03 +00:00
saxmatt
a1ad557401
Breaking list_cats some more.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 00:03:58 +00:00
saxmatt
788f328d6b
Bug that was causing duplicate queries.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 19:12:33 +00:00
saxmatt
fc932087d4
A few typos.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 23:03:09 +00:00
saxmatt
10c6b7ea9c
Changed to superglobals, and eliminated $use_cache (since we always do).
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 22:56:47 +00:00
rboren
f81987a2f2
Mark strings for translation.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@1088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-17 15:56:23 +00:00
rboren
346990432c
Add feed and feed_image options to wp_list_cats() and wp_list_authors().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-23 04:45:27 +00:00
rboren
8974c946a7
Introducing wp_list_authors() and friends.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-19 16:20:49 +00:00
rboren
44f59de914
Fix wp_list_cats() argument handling.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-12 23:51:16 +00:00
rboren
699dcb6ac8
Converted overlooked reference to $siteurl to get_settings().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-07 17:41:14 +00:00
saxmatt
8927968849
Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 16:15:48 +00:00
michelvaldrighi
251b4a0423
using "" for html attributes in some functions
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-20 00:51:52 +00:00
saxmatt
77421739db
Refactoring of template tags to use filters, use TABS (!!!), and general cleanliness, which is next to godliness. Some get_settings improvements, less globals.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 04:56:29 +00:00
saxmatt
ecbf95566b
Show categories nested by default. New wp_list_cats function that uses parse_str.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-13 16:14:36 +00:00
rboren
6d55b3153a
Clean feed and trackback URLs.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-05 20:55:50 +00:00
saxmatt
87fa62b3e6
Broke up template-functions into several files to facilitate maintainance and change tracking.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-27 09:58:01 +00:00