|
@@ -58,6 +58,19 @@ function dw_paging_nav() {
|
|
|
}
|
|
|
endif;
|
|
|
|
|
|
+if ( ! function_exists( 'dw_posted_at' ) ) :
|
|
|
+function dw_posted_at() {
|
|
|
+ $categories_list = get_the_category_list( __( ', ', 'dw' ) );
|
|
|
+ if ( in_category( 'fb' )) {
|
|
|
+ echo '<div class="categories-fb"><a href="http://facebook.com/windhamdavid" target="_blank">posted on <span class="fb"> </span></a></div>';
|
|
|
+ } elseif ( in_category( array( 'twitter', 'tumblr' ) )) {
|
|
|
+
|
|
|
+ } else {
|
|
|
+ echo '<span class="categories-links">' . $categories_list . '</span>';
|
|
|
+ }
|
|
|
+}
|
|
|
+endif;
|
|
|
+
|
|
|
if ( ! function_exists( 'dw_posted_on' ) ) :
|
|
|
function dw_posted_on() {
|
|
|
return sprintf( __( '<span %1$s></span> %2$s by %3$s', 'daw' ),
|