eventsmanager

Genesis - Executive Pro - single-event.php example

Feb 19th, 2014
289
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3.  * This creates a template similar to that of a page in Genesis themes, notice the removal of hooks in Genesis
  4.  *
  5.  * @package Executive Pro
  6.  * @subpackage Customizations
  7.  */
  8.  
  9. //Standard generic hooks to remove
  10. remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
  11. remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
  12. remove_action( 'genesis_before_post_content', 'genesis_post_info' );
  13.  
  14. //Executive Pro Theme - specific hooks one could remove, comment out the ones you want to keep
  15.  
  16. //* Remove the breadcrumb navigation
  17. remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
  18.  
  19. //* Remove the post info function
  20. remove_action( 'genesis_entry_header', 'genesis_post_info', 5 );
  21.  
  22. //* Remove the author box on single posts
  23. remove_action( 'genesis_after_entry', 'genesis_do_author_box_single', 8 );
  24.  
  25. //* Remove the post meta function
  26. remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
  27.  
  28. genesis();
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×