New Landing How can we help? Themeforest Theme Support Flexform Edit sub-directory file in child-theme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Flexform
  • #104836
    somethingbig
    Member
    Post count: 3

    I need to change the following file:

    includes>sf-content-display>sf-post-layouts.php

    I copied it over to my child theme using the same structure, but it still calls the old file from the base theme because of this line in functions.php:

    include(SF_INCLUDES_PATH . '/sf-content-display/sf-post-formats.php');

    How can I override this in my base theme but without editing it (so I can still update it?)

    #105027
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    You can change that line in functions.php from

    include(SF_INCLUDES_PATH . '/sf-content-display/sf-post-formats.php');

    to

    include(STYLESHEETPATH . '/includes/sf-content-display/sf-post-formats.php');

    Let us know,

    Thanks,
    laranz.

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