Hi again,
I also have tried with the snippet indicated in the article http://kriesi.at/documentation/enfold/use-the-layout-builder-with-any-post-type/, and happens the same. The same problem, when I use the Advanced Editor the single-party.php file is not processed any more…
So I’m in the same situation, and I hope you can give me a solution.
Best Regards,
Boream.
Hi Rikard,
using another method I have activated the Avia Builder in a Custom Type called “Party”, that is not the problem, the single-party.php file is processed well. That’s the code I’ve added in the meta.php file:
add_filter(‘avf_builder_boxes’,’custom_post_types_options’);
function custom_post_types_options($boxes)
{
$boxes[] = array( ‘title’ =>__(‘Avia Layout Builder’,’avia_framework’ ), ‘id’=>’avia_builder’, ‘page’=>array(‘party’), ‘context’=>’normal’, ‘expandable’=>true );
$boxes[] = array( ‘title’ =>__(‘Layout’,’avia_framework’ ), ‘id’=>’layout’, ‘page’=>array(‘party’), ‘context’=>’side’, ‘priority’=>’low’);
return $boxes;
}
The problem is that when I use the advanced editor to add the contents, the single-party.php is not processed any more, and WP just processes the single.php file.
Can you tell me how to use de advanced editor and make the WP process my custom single-party.php?
Best Regards,
Boream.
Hi,
I’m having the same problem… have you fixed it? It has past near 2 years, and the problem remains unsolved…
Thanks!