hello
i know basic Pods and would like to use Enfold Advanced Layout Editor in my Pods content types instead of the normal Wysiwyg.
thank you
Hey mm256,
I’m not sure what Pods content is, could you try to explain a bit further please?
Best regards,
Rikard
Pods is a WordPress Framework that interfaces with the website’s database and easily creates Custom Post Types.
my question is: can i use the Enfold Advanced Layout Editor in a custom template ??
Hi mm256,
You can use shortcodes from Advanced Layout Builder or have a look here.
If you need further assistance please let us know.
Best regards,
Victoria
it worked,
thank you
Hi mm256,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria
Hi there,
unfortunately the video in the link above is not the latest version anymore, maybe.
In the meta.php it now says “$alb_post_types = Avia_Builder()->get_supported_post_types();” Therefore the hack to add new post types doesnt work anymore. Whats the workaround now, please?
Urs
Frank
Hi,
Thank you for the update.
You can use the avf_alb_supported_post_types filter in the functions.php file to add more items to the list of supported post types.
/*
Add more items to supported post types
**************************************************************************** Enfold - CPT UI */
function avf_alb_supported_post_types_mod( array $supported_post_types )
{
$supported_post_types[] = 'theor_grundlagen';
$supported_post_types[] = 'grundlagen_planung';
$supported_post_types[] = 'orientierungsplan';
return $supported_post_types;
}
add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);
Let us know if that helps.
Best regards,
Ismael