[[Linghtbox 2 on Wordpress]] CONTENTS #contents ---- Lastmodified &lastmod; ---- *WordPress TinyMice 編集画面のフォント変更 [#s8f42e51] /usr/local/www/data/wordpress/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css /* WordPress styles */ body { font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo UI", Georgia, "Times New Roman", "Bitstream Charter", Times, serif; font-size: 13px; line-height: 19px; color: #333; margin: 10px; } *WordPress Agregate のFont変更 [#g7b88fd1] **記事フォント変更 [#w6c1bdd8] と言っても、Agregate Themeでは、結局epanelのフォント指定が最優先されるので、 /usr/local/www/data/wordpress/wp-content/themes/Aggregate_Black/epanel/options_aggregate.php に、'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo UI', を追加 $et_google_fonts = apply_filters( 'et_google_fonts', array('ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo UI','Kreon','Droid Sans','Droid Serif','Lobster','Yanone Kaffeesatz','Nobile','Crimson Text','Arvo','Tangerine','Cuprum','Cantarell','Philosopher','Josefin Sans','Dancing Script','Raleway','Bentham', 'Goudy Bookletter 1911','Quattrocento','Ubuntu', 'PT Sans') ); sort($et_google_fonts); **管理画面のフォント変更 [#p8d14cf6] /usr/local/www/data/wordpress/wp-admin/css/wp-admin.min.css と /usr/local/www/data/wordpress/wp-content/plugins/wp-multibyte-patch/ext/ja/admin.css のファイル中の font-family:sans-serif を、 font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo UI", sans-serif に置換して、UTF-8へ変換しる。 して、日本語フォントを選べるようにしてから、メイリオを選択で、OK **テーマの編集 [#j391540e] ***スタイルシート (style.css) [#bdf8f5de] /* Content Left */ #side-left a:hover {text-decoration:underline;} #side-left p {margin:0; padding:0;} #side-left h2 {font: 26px Times New Roman, Verdana, Arial; color:#666;} #side-left h2 a, #side-left h2 a:visited, #side-left h3 a, #side-left h3 a:visited {color:#58b3f9; font-weight:normal;} #side-left h2 a:hover, #side-left h3 a:hover {color:#fff; text-decoration:none;} #side-left h3 {font-size:18px; margin:0px 0px 10px 0px; color:#666;} #side-left h2.pagetitle {color:#58b3f9;} #side-left h2.result {color:#fff;} #side-left img {max-width:460px; margin:5px;} #side-left img {max-width:620px; margin:5px;} #content .tags {font-size:9px; color:#ccc; margin-bottom:5px;font-weight:bold;} #content .tags a{font-size:9px; color:#444; font-weight:normal;} #content .tags a:hover{color:#58b3f9; text-decoration:none;} #content .postmetadata {text-align:right;margin-top:15px; color:#ccc; font-size:10px;} #content .postmetadata a {color:#444; font-weight:bold; font-size:10px;} ***「メディア」の設定で、サムネイルに600x600を追加。 [#u8797348] これで、ほぼ、記事スペース横幅いっぱいに画像が表示される。 ** Warning: Creating default object from empty value in /usr/local/www/apache24/data/wp/blog/wp-content/themes/Aggregate/epanel/custom_functions.php on line 768 [#g935dec5] https://divibooster.com/fixing-elegant-themes-creating-default-object-from-empty-value-warning/ /usr/local/www/apache24/data/wp/blog/wp-content/themes/Aggregate/epanel/custom_functions.php /usr/local/www/apache24/data/wp/blog/wp-content/themes/Aggregate/epanel/custom_functions.php line 768 // $last_update->checked = $themes; $last_update->last_checked = time(); ---- Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday); #counter([total|today|yesterday]);