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

    I’ve use your child theme to customize google fonts, becouse I have cyrilic site, and standart fonts looking horryble.
    I used that article:

    After making changes to my functions.php I can pick new google fonts in Theme Settings, but after I push Save All button – all changes reset to deafult. Why?



    I had no problems saving the new font options in the backend, the change are not being reflected on the frontend and i believe that’s because of the caching plugin you have activated.

    To add cyrillic subset use this function:

    function add_subset_func($fontlist) {
    	$fontlist .= "&subset=cyrillic,cyrillic-ext";
    	return $fontlist;
    add_filter('avf_google_fontlist', 'add_subset_func');

    Best regards,


    I’ve disabled w3 Total Chache.
    But no change.
    I try to use Oranienbaum for headings and Roboto Condensed for text. Chache is off, but nothing happence – still arial on a site,

    And thanks for add_subset_func – you probably should add it to wiki, for all non english customers ;)



    It’s fixed now, the problem was caused by this code you had in child theme functions.php:

    function vc_remove_wp_ver_css_js( $src ) {
        if ( strpos( $src, 'ver=' ) )
            $src = remove_query_arg( 'ver', $src );
        return $src;
    add_filter( 'style_loader_src', 'vc_remove_wp_ver_css_js', 9999 );
    add_filter( 'script_loader_src', 'vc_remove_wp_ver_css_js', 9999 );

    It’s commented now.


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