Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #911990

    **UPDATE** Resolved, please close.

    I still had the window open in WordPress. I copied the code and uploaded through FTP. Issue is resolved, sorry to bug you guys!

    -Deanna

    Hi Guys,

    I’m sorry that I did this… I was following this thread: https://kriesi.at/support/topic/featured-image-portfolio-dimensions/ and added the below to my functions.php. This has caused this site error: Fatal error: Call to undefined function avia_get_header_scroll_offset() in /home4/aether/public_html/wp-content/themes/enfold/css/dynamic-css.php on line 891

    Any help would be appreciated!

    add_filter( ‘avf_modify_thumb_size’, ‘enfold_customization_modify_thumb_size’, 10, 1 );
    function enfold_customization_modify_thumb_size( $size ) {
    $size[‘portfolio’] = array(‘width’=>495, ‘height’=>400);
    return $size;
    }

    I tried to revert, but it’s not accepting/saving the changes. Please help, thank you so much.

    Deanna

    • This topic was modified 6 years, 10 months ago by rosewoodva.
    #911995

    Hey Deanna,

    I’m glad you were able to get this resolved with a simple revert. If you need further help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Changed Functions PHP – Site Error – Help!’ is closed to new replies.