Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #761562

    copied class-framework-widgets.php to child theme

    added require( ‘class-framework-widgets.php’ ); to child functions.php

    got fatal error…

    #761582

    Hey Nancy,

    You don’t copy the whole file to your child theme. Just have a clean fresh functions.php in the child folder. See: http://kriesi.at/documentation/enfold/using-a-child-theme/

    You can download a pre-built child theme from there.

    Best regards,
    John Torvik

    #761585

    Hey!

    It depends how you need to load the areas.
    For example, that one file can not be loaded like that as child theme.

    Can you please let us know what you need to do, so we can guide you properly?

    Regards,
    Basilis

    #761602

    I have other functions in my child functions.php and I have a few custom templates so I would prefer to keep my child theme as it is.

    My goal was to make a few modifications to the “Enfold Child Latest News:” widget since I need it to behave a bit differently when it shows posts of category “research” than it does when I show posts of category “news” (specifically – no date for research)

    #762574

    solved this.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Cannot redeclare class avia_instagram_widget in’ is closed to new replies.