How to support custom post types?

[ad_1]

Hi @snippet24,

Yes it does. You can do it using the bogo_localizable_post_types filter, like this example:

// Bogo: Enable multilingual feature on custom post type
add_filter( 'bogo_localizable_post_types', 'bogo_wc_cpt_localizable' );

function bogo_wc_cpt_localizable( $post_types ) {  
  $post_types[] = 'your_custom_post_type'; // Change this with your actual custom post type

  return $post_types;
}

Thank you!! I did it in addtion to saving permalinks and I confirm is working great πŸ™‚ Thank you!!!!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer