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.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.