Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
Sum FM
/
wp-content-20260417071838
/
themes
/
gute-portfolio
:
functions.php
Advanced Search
Upload
New Item
CMD
Change Password
Back
Back Up
Advanced Editor
Save
<?php /*This file is part of gute child theme. All functions of this file will be loaded before of parent theme functions. Learn more at https://codex.wordpress.org/Child_Themes. Note: this function loads the parent stylesheet before, then child theme stylesheet (leave it in place unless you know what you are doing.) */ function gute_portfolio_fonts_url() { $fonts_url = ''; $font_families = array(); $font_families[] = 'Rubik:400,600'; $font_families[] = 'Roboto+Slab:400,600,700'; $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), ); $fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); return esc_url_raw( $fonts_url ); } function gute_portfolio_enqueue_child_styles() { wp_enqueue_style( 'gute-portfolio-font', gute_portfolio_fonts_url(), array(), null ); wp_enqueue_style( 'gute-portfolio-parent-style', get_template_directory_uri() . '/style.css',array('bootstrap','font-awesome','gute-default'), '', 'all'); wp_enqueue_style( 'gute-portfolio-main',get_stylesheet_directory_uri() . '/assets/css/main.css', array(),'1.0.7','all'); } add_action( 'wp_enqueue_scripts', 'gute_portfolio_enqueue_child_styles'); /** * Customizer additions. */ require get_stylesheet_directory() . '/inc/customizer.php'; /** * Recomended plugin */ require get_stylesheet_directory() . '/inc/tgm-plugin.php'; /** * Recomended plugin */ require get_stylesheet_directory() . '/inc/actions.php';