Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created March 24, 2016 12:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jchristopher/df7f7af57420ca82a932 to your computer and use it in GitHub Desktop.
SearchWP compatibility with the7
<?php
// add this to your CHILD theme functions.php
function my_presscore_search_loop_post_content() {
global $post;
presscore_populate_post_config();
dt_get_template_part( 'blog/masonry/blog-masonry-post' );
}
add_action( 'presscore_search_loop_post_content', 'my_presscore_search_loop_post_content' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment