Tag Archives: reference

Thematic Function Reference

I could not find a listing of all thematic theme functions for Wordpress online. So the following is just a recursive grep of the thematic directory. grep -rh "function thematic_" * Each function needs to prepended with “thematic_” when adding as a action or filter eto a Wordpress childtheme. Example function my_function_says_hello(){ print "Hello!"; } add_filter('thematic_abovepagebottom', 'my_function_says_hello'); Here is [...]
Posted in Programming | Also tagged , , , , , | 1 Comment

Ruby strftime() method arguments

Just for reference strftime() arguments in ruby. Usage Time.now.strftime(“%B/%d/%Y”). Got this from http://snippets.dzone.com/tag/strftime %a weekday name. %A weekday name (full). %b month name. %B month name (full). %c date and time (locale) %d day of month [01,31]. %H hour [00,23]. %I hour [01,12]. %j day of year [001,366]. %m month [01,12]. %M minute [00,59]. %p [...]
Posted in Programming, Ruby on Rails | Tagged | Leave a comment