Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #526025

    Hello guys,
    I’m using the Enfold child theme, and I am trying to add a new google font. So as suggested by you to others, I inserted the following code to functions.php from my WP Editor section:

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Source Sans Pro’] = ‘Source Sans Pro:400,600,800′;
    $fonts[‘Raleway’] = ‘Raleway:400,600,800′;
    return $fonts;
    }

    But after saving it my browser says there’s a
    “Parse error: syntax error, unexpected ‘avf_google_content_font’ (T_STRING)” in my /enfold-child/functions.php on line 15

    What can I do to fix this?
    Thanks a lot!

    Davide

    #526161

    Hi Davide!

    Do you mind posting temporary FTP and WordPress admin logins here so we can look into it? Seems like you have syntax error in “avf_google_content_font” function in functions.php file

    Regards,
    Yigit

    #643008

    I’ve run into this same issue, but am not seeing the way to resolve it in the forum. Can someone help me out?
    Brigitte

    #643303

    Hi Brigitte,

    Please open a new thread and include admin login details in private. Also try to be as specific as possible as to what problems you are having.

    Thanks,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.