• Resolved rdmi

    (@rdmi)


    In version 1.7.2 of this plugin, if the first post in a search results set has a boldgrid layout, the function view_project_template (in includes/class-boldgrid-editor-templater.php), which runs as a template_include filter, takes over and replaces the search template with the post’s template (and renders the post).

    I think that function should begin with something like:

    global $wp_query;
    if ($wp_query->is_search) {
        return $template;
    }

    In search contexts, the value of $post is just an example of the things found by that search.

Viewing 1 replies (of 1 total)
  • Plugin Author Rafael Ramos

    (@rramo012)

    Thank you for bringing this to our attention. We’ll include a fix for this issue in our upcoming release.

Viewing 1 replies (of 1 total)
  • The topic ‘boldgrid layout overriding search’ is closed to new replies.