//mod content function hatom_mod_post_content ($content) { if ( in_the_loop() && !is_page() ) { $content = ''.$content.''; } return $content; } add_filter( 'the_content', 'hatom_mod_post_content'); //add hatom data function add_mod_hatom_data($content) { $t = get_the_modified_time('F jS, Y'); $author = get_the_author(); $title = get_the_title(); if(is_single()) { $content .= '
'.$title.' was last modified: '.$t.' by '.$author.'
'; } return $content; } add_filter('the_content', 'add_mod_hatom_data'); /* Remove Hentry /* ------------------------------------ */ function remove_hentry( $classes ) { $classes = array_diff($classes, array('hentry')); return $classes; } add_filter( 'post_class', 'remove_hentry' );
Popular Posts
Latest tweets
  • Loading tweets...