×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Joseph Riviello
Added: Nov 18, 2012 6:10 PM
Views: 24
Tags: no tags
  1. // Remove post info on archive pages
  2.  
  3. add_action('get_header', 'remove_post_info');
  4. function remove_post_info() {
  5.  
  6.     if ( is_archive('stories') )
  7.    remove_action('genesis_after_post', 'genesis_do_author_box_single');
  8.             remove_action( 'genesis_before_post_content', 'genesis_post_info' );
  9.             remove_action('genesis_after_post_content', 'genesis_post_meta');
  10. }