| Server IP : 217.160.0.15 / Your IP : 216.73.217.51 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : u37981780 ( 1696858) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/43/d124547881/htdocs/app395378437/wp-content/themes/mk/LNT-framework/customizer/ |
Upload File : |
<?php
/**
* Functions used to implement options
*
* @package Customizer Library Demo
*/
/**
* Enqueue Google Fonts Example
*/
function mk_fonts() {
// Font options
$fonts = array(
get_theme_mod( 'mk_main_font', customizer_library_get_default( 'mk_main_font' ) ),
get_theme_mod( 'mk_headers_font', customizer_library_get_default( 'mk_headers_font' ) )
);
$font_uri = customizer_library_get_google_font_uri( $fonts );
// Load Google Fonts
wp_enqueue_style( 'mk_fonts', $font_uri, array(), null, 'screen' );
}
add_action( 'wp_enqueue_scripts', 'mk_fonts' );