New Landing How can we help? Atelier Meta box options on custom post type

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #189358
    aerosum
    Member
    Post count: 35

    Hi,

    First of all thanks a lot for the awesome theme. I really liked it and the kind of customization is possible of the theme is brilliant.

    Now the support part. I have added a custom post type. I could enable the swift page builder on it from theme options.

    But I also need to enable the page meta options which are available for regular posts. Can you please provide me a clue here. (as shown in screenshot).

    I also use flexform theme and I could enable the same on flexform through a small one line code change. Can you please help me here.

    Regards
    Sumit

    Attachments:
    You must be logged in to view attached files.
    #189687
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    So you want to enable the post or the page meta options in your new custom post type?

    -Rui

    #189689
    aerosum
    Member
    Post count: 35

    Hi,

    I wanted the one for posts.

    I got into my coder mode and found how to do it ๐Ÿ™‚

    Just for reference for the people reading this thread. I went to meta-boxes.php file in theme folder/include/

    Looked for ‘posts’. There is an array line something like this
    pages = array (‘posts’)

    Wherever you find this kind of array add your custom post to it.

    pages = array (‘posts’, ‘custom’)

    Tada.. its magic ๐Ÿ™‚

    P.S. Thanks Rui for the follow up.

    Regards
    Sumit

    #189693
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Wow. Nice one.
    Thanks for sharing it.

    -Rui

    #308684
    Ian
    Member
    Post count: 121

    Can “meta-boxes.php” be moved into a child theme in order to preserve changes?

    #308693
    David Martin – Support
    Moderator
    Post count: 20834

    Depending on what you want to do you can override/remove/edit the options via a child theme without the need for file duplictation: https://metabox.io/docs/edit-remove-meta-boxes/#post-475

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register