Tagged: avia layout builder
Hello,
I can’t figure it out how to add Avia Layout builder to wp store locator.
I find i need to use https://kriesi.at/documentation/enfold/use-the-layout-builder-with-any-post-type/
But i don’t know what kind of changes i need to make to connect it to https://wpstorelocator.co/
Hey tdutkowski,
DO you want to style the posts of WPStore Locator with ALB?
Can you show us how you do it?
Best regards,
Basilis
Hi,
I figure out this problem to enable ALB in store locator posts you need to use this code in function.php:
function add_builder_to_posttype($metabox)
{
foreach($metabox as &$meta)
{
if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout')
{
$meta['page'][] = 'wpsl_stores';
}
}
return $metabox;
}
Hi,
Did you need further help, or shall we close this thread?
Best regards,
Jordan Shannon
We can close.
Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon