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 beshop_lite_enqueue_child_styles() { wp_enqueue_style('beshop-lite-google-font', beshop_lite_fonts_url(), array(), null); wp_enqueue_style('beshop-lite-parent-style', get_template_directory_uri() . '/style.css', array('beshop-main', 'bootstrap', 'beshop-google-font', 'beshop-default'), '', 'all'); wp_enqueue_style('beshop-lite-main', get_stylesheet_directory_uri() . '/assets/css/main.css', array(), BESHOP_LITE_VERSION, 'all'); wp_enqueue_script('masonry'); } add_action('wp_enqueue_scripts', 'beshop_lite_enqueue_child_styles'); /** * Customizer additions. */ require get_stylesheet_directory() . '/inc/customizer.php'; function beshop_lite_excerpt_more($more) { if (is_admin()) { return $more; } return ''; } add_filter('excerpt_more', 'beshop_lite_excerpt_more', 9999); function beshop_lite_posts_author_meta() { $author_avatar = get_avatar(get_the_author_meta('user_email'), 30); $author_name = get_the_author(); $post_date = get_the_date(); $allowed_tags = array( 'img' => array( 'src' => true, 'alt' => true, 'class' => true, 'width' => true, 'height' => true, ), ); ?>