Enable Muffin Builder for a Custom post type

Hello,

I would like to activate the Muffin Builder metabox on a custom post type register through a child theme.

I created this custom post type through two techniques:
With plugin: Using Custom Post Type UI

With Wordpress Classic Method

I currently do not have the builder.

Thanks for your feedback !


Comments

  • Hi,
    It depends what for you metabox means.
    You can add tags for SEO while editing post, on the bottom:
    Cheers
  • Hi, 

    Thanks for your feedback but it is not that. 

    I miss the edition block called "Post Options", it's the block with the muffin builder


    Kind regards
  • edited April 2020
    Hello,

    For those who wants to achieve this, here is my workaround (I'll duplicate the portfolio post_typeto techno in this example) :
    I just duplicate "themes\betheme\functions\post-types\class-mfn-post-type-portfolio.php" to "themes\betheme-child\functions\post-types\class-mfn-post-type-techno.php"
    In this duplicate you have to replace all "Portfolio" or "portfolio" occurence to our new post_type (For me it was "Techno" and "techno")
    In my functions.php I require these 3 files :

    require_once(get_template_directory().'/muffin-options/theme-options.php');
    require_once(get_template_directory().'/functions/builder/class-mfn-builder.php');
    require_once(get_template_directory().'/functions/post-types/class-mfn-post-type.php');

    and after my duplicate (and other duplicates if you one more than one new post_type

    require_once(get_theme_file_path('/functions/post-types/class-mfn-post-type-techno.php'));

    and that's it !

    Hope this will help
    Regards

    MFM Digital Team
Sign In or Register to comment.