{"id":149199,"date":"2014-09-06T19:43:02","date_gmt":"2014-09-06T19:43:02","guid":{"rendered":"https:\/\/ru.wordpress.org\/support\/2014\/09\/06\/%d0%9f%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d0%b0-%d1%81-%d0%bf%d0%b5%d1%80%d0%b5%d0%b2%d0%be%d0%b4%d0%be%d0%bc-6\/"},"modified":"2014-09-06T19:43:02","modified_gmt":"2014-09-06T19:43:02","slug":"%d0%9f%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d0%b0-%d1%81-%d0%bf%d0%b5%d1%80%d0%b5%d0%b2%d0%be%d0%b4%d0%be%d0%bc-6","status":"closed","type":"topic","link":"https:\/\/ru.wordpress.org\/support\/topic\/%d0%9f%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d0%b0-%d1%81-%d0%bf%d0%b5%d1%80%d0%b5%d0%b2%d0%be%d0%b4%d0%be%d0%bc-6\/","title":{"rendered":"\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u043c"},"content":{"rendered":"<p>\u041f\u044b\u0442\u0430\u044e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0442\u0435\u043c\u044b. \u0421\u043e\u0437\u0434\u0430\u043b PO \u0438 \u041c\u041e \u0444\u0430\u0439\u043b\u044b, \u043d\u043e \u0412\u041f \u0438\u0445 &#171;\u043d\u0435 \u0432\u0438\u0434\u0438\u0442&#187;. \u0412\u043e\u0442 \u0432 functions.php \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0435, \u043d\u043e \u044f \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043f\u043e\u043d\u044f\u043b \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c. \u041f\u043e\u0434\u0441\u043a\u0430\u0436\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0438.<\/p>\n<pre><code>\/* Translators: If there are characters in your language that are not\n\t * supported by Source Sans Pro, translate this to &#039;off&#039;. Do not translate\n\t * into your own language.\n\t *\/\n\t$source_sans_pro = _x( &#039;on&#039;, &#039;Source Sans Pro font: on or off&#039;, &#039;fruitful&#039; );\n\n\t\/* Translators: If there are characters in your language that are not\n\t * supported by Bitter, translate this to &#039;off&#039;. Do not translate into your\n\t * own language.\n\t *\/\n\t$bitter = _x( &#039;on&#039;, &#039;Bitter font: on or off&#039;, &#039;fruitful&#039; );\n\n\tif ( &#039;off&#039; !== $source_sans_pro || &#039;off&#039; !== $bitter ) {\n\t\t$font_families = array();\n\n\t\tif ( &#039;off&#039; !== $source_sans_pro )\n\t\t\t$font_families[] = &#039;Source Sans Pro:300,400,700,300italic,400italic,700italic&#039;;\n\n\t\tif ( &#039;off&#039; !== $bitter )\n\t\t\t$font_families[] = &#039;Bitter:400,700&#039;;\n\n\t\t$query_args = array(\n\t\t\t&#039;family&#039; =&gt; urlencode( implode( &#039;|&#039;, $font_families ) ),\n\t\t\t&#039;subset&#039; =&gt; urlencode( &#039;latin,latin-ext&#039; ),\n\t\t);\n\t\t$fonts_url = add_query_arg( $query_args, &quot;\/\/fonts.googleapis.com\/css&quot; );\n\t}\n\n\treturn $fonts_url;\n}\n\nfunction fruitful_setup() {\n\t\/**\n\t * Make theme available for translation\n\t * Translations can be filed in the \/languages\/ directory\n\t * If you&#039;re building a theme based on Fruitful theme, use a find and replace\n\t * to change &#039;fruitful&#039; to the name of your theme in all the template files\n\t *\/\n\tload_theme_textdomain( &#039;fruitful&#039;, get_template_directory() . &#039;\/languages&#039; );<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-149199","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/149199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/149199\/revisions"}],"wp:attachment":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=149199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}