How to add thumbnail or Image for Beaver Builder Custom Template

When we Create A custom Template In the Beaver Builder .We are not able to Add Custom Thumbnail For that Templates.
By Default Beaver Builder Uses Feature Image of template as a Thumbnail and Featured Image is Hidden in Beaver Builder .
Beaver Builder Uses a Post type “fl_builder_register_template_post_type_args” .If you check the core files in there are using apply filter .
BY Using the Apply Filter we can add Extra Parameter As “thumbnail” Under supports array below is the syntax how we can add.
function filter_thumbnail($args){
    $args['supports'][] ='thumbnail';
    return $args;
Place the Above Code in Function.php or create a plugin and place the Code
After Placing You can Go to Template tab and Create or edit the template and set the featured image .


Post a Comment

Don't Forget to comment

About Me

My photo

HI i am mohammed  a Embedded Software Developer ,SEO specialist,Electronic engineer   Read more