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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Flexform
  • #37683
    Axle
    Member
    Post count: 7

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

    There are no hooks I could work with and it is not wraped within if(!function_exists(‘sf_get_post_item’){ … } 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 look of post content.

    I would need some other function overrides as well but this override stuck me from last few hours 🙁

    Note: I have tried the way posted here but it never worked.

    please help.

    Thank you!

    #38105
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    Let me know which functions you’d like to override and I’ll get them set up for the next update!

    Thanks,

    – Ed

    #38170
    Axle
    Member
    Post count: 7

    @Ed
    So far this one “sf_get_post_item” is the most needed function that should be pluggable.
    but I will send u more list of functions soon.

    and can you tell me the way How I can make pluggable these functions ?

    Regards

    #38385
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    I’ll make the overwriteable in the next update, then you just add a replacement function to your child theme.

    – Ed

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