保護中: 2018年9月13日

このコンテンツはパスワードで保護されています。閲覧するには以下にパスワードを入力してください。

カテゴリー: Private | コメントを読むにはパスワードを入力してください。

保護中: 2018年9月6日

このコンテンツはパスワードで保護されています。閲覧するには以下にパスワードを入力してください。

カテゴリー: Private | コメントを読むにはパスワードを入力してください。

保護中: 2018年8月25日

このコンテンツはパスワードで保護されています。閲覧するには以下にパスワードを入力してください。

カテゴリー: Private, 画像 | コメントを読むにはパスワードを入力してください。

An error in wordpress with apache

'xxxxx.wp_icl_strings' doesn't exist for query 

This error has been being appeared for a long time.
I have not noticed this error.

[Sun Jun 18 10:38:32.619059 2017] [:error] [pid 1213] [client 51246] 
WordPress xxxxxxx: 
Table 'xxxxxxxx.wp_icl_strings' doesn't exist for query \n
SELECT s.name, s.value, t.value AS translation_value, t.status\n            
FROM  wp_icl_strings s\n  
          
LEFT JOIN wp_icl_string_translations t ON s.id = t.string_id\n            
WHERE s.context = 'WordPress'\n                
AND (t.language = 'ja' OR t.language IS NULL)\n        
     made by require('wp-blog-header.php'), require_once('wp-load.php'), 
     require_once('wp-config.php'), require_once('wp-settings.php'), 
     WP_Locale->__construct, WP_Locale->init, _x, translate_with_gettext_context,
     apply_filters('gettext_with_context'), WP_Hook->apply_filters, 
     call_user_func_array, 
     WordPress_language_class->icl_sw_filters_gettext_with_context, WordPress_
     language_class->icl_sw_filters_gettext, wp_trans_icl_t, wp_trans_cache_lookup

I found this error in apache has be solved by deactivating plugin “WordPress Language”.
This plugin is not compatible with WordPress 4.8.

wordpressで数式を書く

以下の記述をheader.phpに挿入する

 <script type="text/x-mathjax-config">
 MathJax.Hub.Config({
   tex2jax: {
     inlineMath: [['$','$'], ['\\(','\\)']],
     processEscapes: true
   }
 });
 </script >
 <script async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_CHTML"> </script>

フッターの「Proudly powered by WordPress」をCopyrightに変更

footer.phpに以下の記述を入れる.

</div><!-- #main -->
<footer id="colophon" role="contentinfo">
<?php

/*
* A sidebar in the footer? Yep. You can customize
* your footer with three columns of widgets.
*/

if ( ! is_404() )
get_sidebar( 'footer' );
?>

<div id="site-generator">
Copyright &copy; 1990-<?php echo date( 'Y' ); ?>
<?php bloginfo( 'name' );?>  ALL Rights Reserved.
</div>
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>

投稿日を削除する

投稿日を削除します.
編集ファイルは、content.phpです。
わずか1行削除するだけです。ファイル内の上部に、

<?php twentyeleven_posted_on(); ?>

というコードがありますが、この一行を削除します.