Custom Post Type with Page options

Hi,

Is it possible to have a custom post type and have for example all the options/capabilities of the post/blog type (page options and mufin builder)?

Thanks

Comments

  • Hi,

    if you know coding, then everything is possible. But if you ask about the option, then we do not have anything like that included as option.
  • Hi,

    I have been trying to duplicate the portfolio posttype based on the source code and it looks like it works pretty good. Took some time to find all files involved, but once i got this organized, it was pretty easy.

    I am not a coder by profession, but doing this 'exercise', it is clear that your coding is very well organized and 'simple'. Many other themes are very complex put together and very difficult to adjust or it gives difficulties when updating to a new version (many individual code changes in many files).

    It looks like maintaining your custom BeTheme post types is fairly easy when applying updates for the Theme.

    Marcellino


  • We are glad to hear that our code is very well organized and simple. Thanks :)
  • @activecontent Can you please write your solution?
  • Hi, 

    you can do it really easy.

    1. locate file betheme/functions/meta-page.php
    2. copy function mfn_page_meta_add to your child theme so beTheme updates will not overwrite your changes.

    if( ! function_exists( 'mfn_page_meta_add' ) ) {
    ....
    }

    3. find array $mfn_page_meta_box = array(....) and replace 'page' => 'page' with 'page' => array('page', 'custom_post_type_name'),

    4. save changes and that's it.



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.