Support » Theme: Semplicemente » Polish charset problem

  • Hi,
    I have problem with polish charset in subtitle in page header (h2.site-description)

    Example text: “Grupa przyjaciół, których połączyła pasja do biegania.”

    Font Source Sans Pro should load latin subset.

    Patch:

    — a/wp-content/themes/semplicemente/functions.php
    +++ b/wp-content/themes/semplicemente/functions.php
    @@ -87,7 +87,7 @@ add_action( ‘widgets_init’, ‘semplicemente_widgets_init’ );
    */
    function semplicemente_scripts() {
    wp_enqueue_style( ‘semplicemente-style’, get_stylesheet_uri() );
    – wp_enqueue_style( ‘semplicemente-googlefonts’, ‘//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700’);
    + wp_enqueue_style( ‘semplicemente-googlefonts’, ‘//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700&subset=latin,latin-ext’);
    wp_enqueue_style( ‘semplicemente-fontAwesome’, get_template_directory_uri() .’/css/font-awesome.min.css’);

    wp_enqueue_script( ‘semplicemente-custom’, get_template_directory_uri() . ‘/js/jquery.semplicemente.js’, array(‘jquery’), ‘1.0’, true );

  • The topic ‘Polish charset problem’ is closed to new replies.