@font-face {
font-family: 'Proxima Nova Regular';
font-weight: 400;
font-style: normal;
src: url('./assets/fonts/proxima-nova/proxima-nova-regular.eot');
src: url('./assets/fonts/proxima-nova/proxima-nova-regular.eot?#iefix') format('embedded-opentype'),
url('./assets/fonts/proxima-nova/proxima-nova-regular.woff') format('woff'),
url('./assets/fonts/proxima-nova/proxima-nova-regular.ttf') format('truetype'),
url('./assets/fonts/proxima-nova/proxima-nova-regular.otf') format('opentype');
}
add_filter( 'tiny_mce_before_init', 'mce_custom_fonts' );
function mce_custom_fonts( $init ) {
$theme_advanced_fonts = "Andale Mono=andale mono,times;" .
"Arial=arial,helvetica,sans-serif;" .
"Arial Black=arial black,avant garde;" .
"Book Antiqua=book antiqua,palatino;" .
"Comic Sans MS=comic sans ms,sans-serif;" .
"Courier New=courier new,courier;" .
"Georgia=georgia,palatino;" .
"Helvetica=helvetica;" .
"Impact=impact,chicago;" .
"Proxima Nova Regular=Proxima Nova Regular;" . /* <---------- This is my custom font */
"Symbol=symbol;" .
"Tahoma=tahoma,arial,helvetica,sans-serif;" .
"Terminal=terminal,monaco;" .
"Times New Roman=times new roman,times;" .
"Trebuchet MS=trebuchet ms,geneva;" .
"Verdana=verdana,geneva;" .
"Webdings=webdings;" .
"Wingdings=wingdings,zapf dingbats";
$init['font_formats'] = $theme_advanced_fonts;
return $init;
}
Как можно сделать, чтобы записи определённой категории, выводились на страницу — «Страница 1»