Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created October 16, 2015 05:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reasonstousegenesis/748981f6431b456454a8 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/748981f6431b456454a8 to your computer and use it in GitHub Desktop.
Reposition the loop with Genesis
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Reposition the loop with Genesis
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/genesis-do-loop/
*/
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'another_hook', 'genesis_do_loop' ); // replace another_hook with your desired hook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment