New Landing How can we help? Themeforest Theme Support Dante Default post meta option

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Dante
  • #59285
    slackerzz
    Member
    Post count: 18

    Hi,
    is there a way to set the default meta options for all post?
    For example under Meta options->Post Meta i would like to set for all existing e future posts to not show “author info” and “related articles”, or under “Detail Media Options” to set as default “Post detail type” to “None”.
    Thank you

    #59304
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi, open up meta-boxes.php and find line 635 which defines the standard value for Include author info

    Change std to 0

    Do the same a bit further down for the related articles.

    Then in line 199 change

    ‘std’ => ‘image’,

    to

    ‘std’ => ‘none’,

    Cheers!

    #59314
    slackerzz
    Member
    Post count: 18

    Thank you,
    in this case with every update of the theme i’ll need to edit this values again.
    Is it possibile to include this edits in a child theme?
    I tried to create the folder swift-framework inside my child theme and then copied inside the modified meta-boxes.php but it doesn’t work.

    #59318
    Melanie – SUPPORT
    Member
    Post count: 11032

    You need to make sure to also call the file that requests the meta-boxes.php file to the child theme so the path is correct. Or you can try to make a request in the functions.php file of the child theme.

    #59319
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Unfortunately this is not supported for the child theme, you will need to repeat the changes each time you update.

    – Kyle

Viewing 5 posts - 1 through 5 (of 5 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