• I created a child theme and now want to override one of the parent theme functions (in functions.php). How can I code this in the child theme functions.php.

    Specifically I want to modify the function vw_automobile_lite_font_url.

    Thank you.

Viewing 1 replies (of 1 total)
  • Theme Author VW THEMES

    (@vowelweb)

    Hello @bigmoxy,

    Add this function in your child theme functions.php.

    function child_theme_name_font_url() {
    $font_url = '';
    $font_family = array();
    $font_family[] = 'Add your font family here';
    $query_args = array(
    'family' => rawurlencode(implode('|', $font_family)),
    );
    $font_url = add_query_arg($query_args, '//fonts.googleapis.com/css');
    return $font_url;
    }

    Thank You.

Viewing 1 replies (of 1 total)
  • The topic ‘using a child theme’ is closed to new replies.