Tagged: , ,

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

    Hey I just updated Enfold from 3.8 to 4 and now my google fonts I added are not working in the functions.php. If I add them I get a HTTP 500 Error.
    I used to use this script:
    /* Additonal Google Fonts */

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Unica One’] = ‘Unica One’;
    $fonts[‘Satisfy’] = ‘Satisfy’;
    $fonts[‘Roboto Slab’] = ‘Roboto Slab:100,400,700’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {

    $fonts[‘Roboto Slab’] = ‘Roboto Slab:100,400,700’;
    return $fonts;
    }

    Any idea how I can get it back working?
    Thanks.

    #753876

    Hey Stefan!

    That is strange there is no documented change on that.
    Can you please also provide us backend access, so we can check some stuff on the code?

    Regards,
    Basilis

    #754229

    Hey I added the credentials, would be great if you could check and let me know.

    #756829

    Hi!

    Thank you for the info.

    The filter is in the functions.php file but I don’t see the error. Did you figure this out?

    Regards,
    Ismael

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