- This topic has 3 replies, 3 voices, and was last updated 9 years, 3 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I'm struggling with some code: I'd like to have something before that pagination so I added the following piece of code:
add_action( 'genesis_after_endwhile', 'some_function' );
some_function gets executed but it removes the pagination - any idea how to do this?
What theme are you using? Check this out on GaryJ's site - http://docs.garyjones.co.uk/genesis/2.0.0/function-genesis_after_endwhile.html.
Love coffee, chocolate and my Bella!
How about loop_end with a priority of 25
add_action( 'loop_end', 'some_function', 25 );
I'll give that a try - thanks Brad
© 2023 WPEngine, Inc.