Hello Support,
I’m trying to integrate FacetWp in Ethos stack of Pro. I know it’s a third party plugin and you don’t provide support but I think the solution I’m looking for is easier than expected and you’ve always been extremely nice.
I summarize the situation:
I inserted my customized facets in a global sidebar and the plugin works perfectly inside the blog. However, I need to create “another blog” with articles that should not appear in the basic one and I have seen that FacetWp is able to do it via shortcode. My problem is that basically the list of posts created by FacetWp lacks any style, while I would need to keep the layout of Ethos. In their guide I found this:
Using advanced mode
If you browse to Settings > FacetWP and click “Add template”, FacetWP will default to using the Layout Builder. However, if more flexibility is required and you’re experienced in WordPress coding, you can switch your template to advanced mode.
Display Code
When the “Display” tab is active, click the
Switch to advanced modelink.
you could put your display code into a PHP template file:
<?php
include( get_stylesheet_directory() . ‘/loop-index.php’ );
?>
Correct me if I’m wrong: I can replace /loop-index.php with the php file that generates the specific loop of Ethos.
If my guess is correct: what is the right syntax to be able to edit include (get_stylesheet_directory?
Should I use the _index.php file inside views/ethos or the one inside global/ethos?
If my guess is wrong, can you point me in the right direction?
Thanks for your time, have a wonderful day!