Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Scott Agirs ScottAgirs

🏠
Working from home
  • iJS
  • Toronto, Canada
Block or report user

Report or block ScottAgirs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ScottAgirs
ScottAgirs / functions.php
Last active Jan 22, 2018
Add Wraps to WP Genesis Framework elements
View functions.php
/**
* @author (Scott) Agirs Neminskis
* @contact scott.a@twosquarepixels.com
*/
// Wrap Genesis Post Loops in an additional element ( div, p, a, or any other )
add_action ( 'genesis_before_loop', 'an_extra_loop_wrapper_open' );
add_action ( 'genesis_after_loop', 'an_extra_loop_wrapper_close' );
function an_extra_loop_wrapper_open() {
You can’t perform that action at this time.