// Remove the default Genesis loop remove_action( 'genesis_loop', 'genesis_do_loop' ); // Add custom blog content add_action( 'genesis_loop', 'search_content', 20 ); function search_content() { global $post; global $wp_query; $term = get_query_var('s'); echo '
'; echo '
'; echo '

'; echo 'You searched for "' . $term . '"'; echo '

'; echo '
'; echo do_shortcode('[ajax_load_more search="'. $term .'" post_type="post, page" posts_per_page="12" scroll="false" button_label="See More" button_loading_label="Loading..."]'); echo '
'; echo '
'; echo '
'; } genesis();