BeBuilder is not available for custom post types
Is there an option to make BeBulder available for custom post types created by the Pods plugin? Everything is working perfectly but in case I want to edit a custom post type there is no option to use BeBuilder just only build in WordPress editor.
Comments
Hi,
You need to use the following filter to your child theme:
In my_post_types place, you need to put the name of the post type where you want to use the BeBuilder.
Best regards
Thank you this works, but content from BE Builder is not translated by WPML (also related to custom post type).
Do you have the newest version of Betheme installed?
Did you check if you do not have to enable these post types translation in the WPML settings?
Best regards
Yes latest Betheme and WPML is enabled for custom post types. The post is translated but only the title. It looks like content from BeBuilder is not extracted for translation. When I open translation for regular posts I see title + content from BeBuilder. When i open a custom post I see only the title and no content included.
Hey,
Please send us the WordPress dashboard and FTP access privately through the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact, and we will check what might be the reason.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you send are complete and correct.
Thanks
Thank you I sent the request.
You did not have the function to add BeBuilder to your custom post type, so I added it.
Also, I changed this option in WPML settings:
And the translation works:
Best regards
Ok, but the function was and still is in function.php in the child theme (at the beginning). So it was about settings in WPML. So thank you.
Somehow, I overlooked this function. Anyway, I'm glad I could help.
If you have any other questions or problems, feel free to ask.
Best regards
I have also tried to enable BeBuilder for a custom post type.
My custom post type is called "recipie".
I do not see my custom post type show up as an option in the templates. Am I missing a step?
The code I added to my chlid theme php page is:
add_filter('bebuilder_post_types', 'recipieType');
function recipieType($post_types){
$post_types[] = 'recipie';
return $post_types;
}
This filter is not for enabling templates for CPT but to enable BeBuilder to create content in the CPT.
Activating CPT template is more complex which require modifying many Betheme files in which we do not provide support, and one simple function will be not enough for that.
If you want to have such a feature you must contact your web developer to adjust files for you.
Best regards