Forums Forums Search & Filter Pro Template Include

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #220952

    Hi Trevor,

    My set-up uses .blade.php file instead of .php files. However will still render .php files too where available.

    So, for now my result templates is themename/search-filter/27.php

    I wondered what filters/hooks you use in S&F to load the template files? Once I find that out I can try override it so it looks to load my 27.blade.php file instead.

    Here is an example where I have told Dokan to use my .blade.php file instead for its edit_template:

    `
    add_filter(‘dokan_get_product_edit_template’, function() {
    return get_stylesheet_directory() . ‘/views/dokan/products/new-product-single.blade.php’;
    });
    `

    Wondered if there were any equivalent filters available with S&F Pro too? Looking through the files now for template_include currently too.

    Trevor
    #220961

    There is no filter, sorry. To change our core files would pose a risk at any update, so it would best left as it is for now.

Viewing 2 posts - 1 through 2 (of 2 total)