Convert theme from Genesis to Shapely

I am converting a WP site from a Genesis theme to Shapely. The genesis theme includes add_action( 'genesis_before_while', 'custom function' ); in a custom archive page, which loads restricted content from a template part. I need to pull that content into a new Shapely custom archive page.

Here is a comment about the hook The genesis_before_while runs after the if( have_posts() ) * and before while( have_posts() ) : the_post(); Is there a hook in Shapely I can use that will pull in this content

FYI: I solved this by creating a new custom hook and placing it after the if( have_posts() )

Hi there

Thanks for sharing your solution :slight_smile: