Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Pinpoint
  • #12121
    ecd
    Member
    Post count: 2

    Hi Guys!

    I’m working with a child theme and want to make a couple of change to the meta-boxes file and include the modified file on the child theme folder.

    How can I set the meta-boxes.php file to load from the child theme, rather than the main theme?

    Could someone help me with the necessary steps?

    Thanks for any help!

    #12435
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    You will need to port over the entire framework of the theme (the /includes/ folder) to your child theme.

    Regards,
    ————————————————————————————————————

    Cosmin – Support

    #12507
    ecd
    Member
    Post count: 2

    Thanks for the reply Cosmin!

    1. How I supposed to call the new meta-boxes file on the child funtion.php? I try this code but don’t work:

    define('SF_TEMPLATE_PATH', get_template_directory());
    define('SF_INCLUDES_PATH', SF_TEMPLATE_PATH . '/includes');
    define('SF_WIDGETS_PATH', SF_INCLUDES_PATH . '/widgets');
    define('SF_LOCAL_PATH', get_template_directory_uri());

    2. How I specify a sidebar (sidebar 1) on the post section on meta-boxes.php?

    #12912
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    1. Please check this Pinpoint discussion: http://support.swiftideas.net/forums/topic/child-theme/

    2. Take a look at Post Meta Box in that file, starts at line 298

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

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

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

License required for one of the following items
Login and Registration Log in · Register