- This topic has 1 reply, 2 voices, and was last updated 6 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Template Include
Tagged: blade template php
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.