By J.M. Dodd on 15 July 2010
By default or design, the WordPress function get_calendar()[^1] does not handle post types other than post. I've updated it as the standalone function ucc_get_calendar() to allow it to accept a $post_types array; the included filter function ucc_get_calendar_filter() will allow for seamless integration via functions.php without requiring additional editing of Theme templates. (Note that the filter will also apply to the Calendar Widget's output.)
Continue reading "Adding Custom Post Types To get_calendar() And The Calendar Widget"
Filed in Code Tagged with calendar, custom post type, get_calendar, ucc, wordpress Licensed under GNU General Public License
By J.M. Dodd on 15 July 2010
Again with the custom post type extensions. This function lets the native WordPress wp_get_archives()[^1][^2] know about public custom post types; just add it to the functions.php of your theme. Of note: the builtin link post type can be included at the array_merge() point; I just had no use for it.
Continue reading "Adding Custom Post Types To wp_get_archives()"
Filed in Code Tagged with custom post type, ucc, wordpress, wp_get_archives Licensed under GNU General Public License
By J.M. Dodd on 14 July 2010
Rebecca What happens when I've gone through all the ballet levels?
Matthew You get to fight the boss, obviously.
Filed in Asides, Live Tagged with matthew, rebecca, thingstheysay
|
#e84a5f
#e84a5f
#e84a5f
|
#bfe9ff
#bfe9ff
#bfe9ff
|
#b5bf65
#b5bf65
#b5bf65
|
#fcec8a
#fcec8a
#fcec8a
|
#e7d89e
#e7d89e
#e7d89e
|
Filed in Look Similar hues are cyan, orange, pink, red, yellow Related colors are cccc66, ccffff, ff3366, ffcc99, ffff99 Licensed under Attribution-NonCommercial-ShareAlike 3.0 Unported
|
#d15028
#d15028
#d15028
|
#f18b72
#f18b72
#f18b72
|
#f6dfb6
#f6dfb6
#f6dfb6
|
#a99c40
#a99c40
#a99c40
|
#663d4f
#663d4f
#663d4f
|
Filed in Look Similar hues are magenta, orange, red, yellow Related colors are 663366, 999933, cc6633, ff9966, ffcccc Licensed under Attribution-NonCommercial-ShareAlike 3.0 Unported
|
#38102a
#38102a
#38102a
|
#7f3e74
#7f3e74
#7f3e74
|
#8a003c
#8a003c
#8a003c
|
#344c36
#344c36
#344c36
|
#85a68b
#85a68b
#85a68b
|
Filed in Look Similar hues are gray, magenta, pink, red Related colors are 330033, 333333, 663366, 990033, 999999 Licensed under Attribution-NonCommercial-ShareAlike 3.0 Unported
|
#ecf511
#ecf511
#ecf511
|
#fafbca
#fafbca
#fafbca
|
#82f5f3
#82f5f3
#82f5f3
|
#48e0de
#48e0de
#48e0de
|
#09c1cf
#09c1cf
#09c1cf
|
Filed in Look Similar hues are cyan, yellow Related colors are 00cccc, 33cccc, 99ffff, ffff00, ffffcc Licensed under Attribution-NonCommercial-ShareAlike 3.0 Unported
|
#263133
#263133
#263133
|
#379eb0
#379eb0
#379eb0
|
#a7f2d5
#a7f2d5
#a7f2d5
|
#f5257f
#f5257f
#f5257f
|
#ebe5b0
#ebe5b0
#ebe5b0
|
Filed in Look Similar hues are cyan, gray, orange, pink, red, teal Related colors are 333333, 339999, 99ffcc, ff3366, ffcc99 Licensed under Attribution-NonCommercial-ShareAlike 3.0 Unported
|
#52252b
#52252b
#52252b
|
#eb213f
#eb213f
#eb213f
|
#f20061
#f20061
#f20061
|
#fffcfd
#fffcfd
#fffcfd
|
#e4fa66
#e4fa66
#e4fa66
|
Filed in Look Similar hues are pink, red, spring, white, yellow Related colors are 663333, ccff66, ff0066, ff3333, ffffff Licensed under Attribution-NonCommercial-ShareAlike 3.0 Unported
|
#c1e3e5
#c1e3e5
#c1e3e5
|
#4d7d81
#4d7d81
#4d7d81
|
#f3f1c3
#f3f1c3
#f3f1c3
|
#faf9e2
#faf9e2
#faf9e2
|
#828070
#828070
#828070
|
Filed in Look Similar hues are blue, gray, yellow Related colors are 666699, 999966, cccccc, ffffcc Licensed under Attribution-NonCommercial-ShareAlike 3.0 Unported
Recent Comments