Clifton's Exclusive VIP Blogging Strategies
Your name and email address will never be sold.

Woo Canvas Hook After Post Meta

I’ve made woo_post_meta() into a hook and create a woo_post_meta_after function to inject after the post meta in the Woo Canvas theme. Copy and paste into your functions.php file.

function woo_post_meta(){do_action('woo_post_meta');}

add_action('woo_post_meta', 'woo_post_meta_under');
function woo_post_meta_under() {
if ( is_page() ) { return; }
$post_info = '<span class="small">' . __( 'By', 'woothemes' ) . '</span>  <span class="small">' . _x( 'on', 'post datetime', 'woothemes' ) . '</span> November 4, 2012  <span class="small">' . __( 'in', 'woothemes' ) . '</span> Canvas, PHP, Themes  ' . ' ';
$meta = apply_filters( 'woo_filter_post_meta', $post_info );
$content .= '<div class="post-meta">'.$meta.'</div>' . "n";
$content .= 'HTML OR WHATEVER';
echo $content;
}

About Clifton Hatfield

He fell in love with the WordPress Publishing Platform and has been creating themes and plugins for it ever since. He is the kind of guy that can read code better than he can read a book. Often, you can find him hunched over a keyboard delivering his magic. He likes cold pizza, walking on moving sidewalks, and Indiana Jones.
0 comments