Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.