Okay
  Public Ticket #804091
Configure metabox on custom post type inside the child theme
Closed

Comments

  • Robin started the conversation

    Is there any way to add the metabox Page Header Setting for custom post type but INSIDE THE CHILD THEME.

    I am able to modify this line in salient/nectar/meta/page-meta.php

    'post_type' => 'page',

    to

    'post_type' => Array('page','recettes'),

    But i want to make this change in the child theme... Not into the parent.

    I tried to create  salient-child/nectar/meta/page-meta.php but its always the file inside the parent theme that is called.

    As i understand those setting can't be set in the child theme but if i modify it in the parent and make a update i will loose those setting right ?

    UPDATE
    ----------------------------

    I finally get my salient-child/nectar/meta/page-meta.php working but i need to comment the call of the include ( include("nectar/meta/page-meta.php" );) inside salient/functions.php  and add it to salient-child/functions.php

    But... i still gonna have problem when i will update my parent theme