Wsparcie » Używanie i konfiguracja WordPressa » Wyświetlanie polskich znaków w Safari.

  • Cześć,

    Udało mi się zainstalować wordpressa następnie wgrać nowy theme. Wszystko było ok do momentu otworzenia bloga w przeglądarce Safari. Polskie znaki zaczęły wyświetlać się źle. W Google Chrome problem ten nie występuje.

    adres bloga: http://www.sie.bavio.pl

    Plik style.css

    /*
    Theme Name: WP ChildCare
    Theme URI: http://cmssuperheroes.com
    Author: CMSSuperHeroes
    Author URI: http://themeforest.net/user/CMSSuperHeroes
    Description: The 2015 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
    Version: 1.0.5
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready
    Text Domain: wp-childcare
    
    This theme, like WordPress, is licensed under the GPL.
    Use it to make something cool, have fun, and share what you've learned with others.
    */
    
    /**
     * Table of Contents
     *
     * 1.0 - Reset
     * 2.0 - Config
     * 3.0 - Options
     * 4.0 - Content
     * 5.0 - Mixins
     * 6.0 - Header
     * 7.0 - Buttons
     * 8.0 - Comment
     * 9.0 - Forms
     * 10.0 - Main
     * 11.0 - Media
     * 12.0 - Blog
     *    12.1 - Blog no sidebar
     *    12.2 - Blog with sidebar
     *    12.3 - Blog grid with sidebar
     *    12.4 - Blog standard
     * 13.0 - Section
     * 14.0 - Carousel
     * 15.0 - Element
     * 16.0 - Popup
     * 17.0 - Fancybox
     * 18.0 - Gird
     * 19.0 - Navigation
     *   19.1 - Links
     *   19.2 - Menus
     * 20.0 - Sidebar
     * 21.0 - Typography
     * 22.0 - Widgets
     * 23.0 - Responsive
     *    23.1 - Mobile Large
     *    23.2 - Tablet Small
     *    23.3 - Tablet Large
     *    23.4 - Desktop Small
     *    23.5 - Desktop Medium
     *    23.6 - Desktop Large
     *    23.7 - Desktop X-Large
     * 24.0 - Footer
     */
    
    /**
    
    http://snook.ca/archives/html_and_css/font-size-with-rem
    http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/
    
    /* =Reset
    -------------------------------------------------------------- */

    Plik header.php

    <?php
    /**
     * The Header template for our theme
     *
     * Displays all of the <head> section and everything up till <div id="main">
     *
     * @package CMSSuperHeroes
     * @subpackage CMS Theme
     * @since 1.0.0
     */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
        <meta charset="<?php bloginfo('charset'); ?>"/>
        <meta name="viewport" content="initial-scale=1,width=device-width">
        <link rel="profile" href="http://gmpg.org/xfn/11"/>
        <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"/>
        <?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions. ?>
        <!--[if lt IE 9]>
        <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
        <![endif]-->
        <?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>
    <?php global $smof_data; ?>
    <div id="page" class="<?php child_care_page_class(); ?>">
        <header id="masthead" class="site-header clearfix">
            <?php child_care_header(); ?>
            <?php child_care_page_title(); ?>
        </header>
        <!-- #masthead -->
        </div>
    <div id="main">

    Obrazek: http://bavio.pl/download/problem.png

Viewing 4 replies - 1 through 4 (of 4 total)
  • Dodaj do swojego arkusza CSS:
    @import url(https://fonts.googleapis.com/css?family=Mouse+Memoirs&subset=latin-ext);

    Thread Starter maciejbis

    (@maciejbis)

    Wkleiłem do pliku style.css, który znajduje się w folderze szablonu. Niestety nie uzyskałem żadnych rezultatów

    1. Skórka przypadkiem nie ma gdzieś w ustawieniach możliwości zmiany kodowania ? Generalnie chodzi o przełączenie z Latin na Latin Extended.

    2. Czy jest problem ze wszystkimi polskimi literami, czy tylko w niektórych czcionkach ? Jeśli tylko w niektórych, to podaj sekcje.

    Thread Starter maciejbis

    (@maciejbis)

    Super! 🙂 Wszystko już działa, rzeczywiście motyw miał do wyboru czcionkę. Dla potomnych wystarczyło wejść w Wygląd->Styling->Typography i tam jest „Podzbiory czcionki” ustawiłem tam Latin Extended i wszystko śmiga.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Temat ‘Wyświetlanie polskich znaków w Safari.’ jest zamknięty na nowe odpowiedzi.