New Landing How can we help? Themeforest Theme Support Neighborhood overriding sf_mini_product_items() function within a child theme

Viewing 2 posts - 1 through 2 (of 2 total)
  • #35924
    100wunder
    Member
    Post count: 5

    What is the best way to redeclare/override this function (defined in neighborhood/includes/swift-framework/sf-content-display/sf-products.php) ?

    There are no hooks I could work with and it is not wraped within if(!function_exists(‘sf_mini_product_items’){ … } to redeclare it this way.

    The main goal is to keep the parent theme untouched for future updates and the specific goal in this case is to change the thumbnail dimensions within the aq_resize( $image_link, 70, 70 true, false) function call.

    Thank you!

    #37239
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi, place the sf-products.php file in a child theme and modify it according to your liking. Cheers!

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