BeBuilder can't be enabled for custom post types

Hi,

I registered a custom post type "support-pages" and tried to enable the BeBuilder for this CPT. The code you suggested to use here doesn't work. The hook is never executed even though it is placed right on top of the functions.php. I can see that the main theme's functions.php tries to add the filter too and - here too - the filter is never applied.

Was this feature silently removed?

/**
 * Enable BeBuilder for Support Pages
 */
add_action('bebuilder_post_types','my_post_types');
 error_log("This log message appears");
function my_post_types($post_types){
  error_log("This is never logged.");
  $post_types[] = 'support-pages';
  return $post_types;
}

https://forum.muffingroup.com/betheme/discussion/74455/how-to-add-new-custom-post-type

Comments

  • Hi,

    you need to wait for an update because there is a small oversight on our end. Since new version, you won't need any filters as BeBuilder will be executed by default in CPT's that have public status. Update should be available tomorrow.

  • Thanks for letting me know. Also I am curious how I can enable the live search on these custom post types? So far no custom post types are being searched.

Sign In or Register to comment.