|
カテゴリ:Wordpress
WPtouchの表示で、
デフォルトのカレンダーアイコンをはずすと、 テキストで投稿日時が表示されるが、 投稿: 4月 2nd, 2011 at 16:04pm とかなり頭悪そうな表示になるので、 まともに表示されるように修正する方法。 wp-content/plugins/wptouch/themes/default/index.php の127行目 <span class="lead"><?php _e("Written on", "wptouch"); ?></span> <?php echo get_the_time('F jS, Y') ?> <?php _e("at", "wptouch"); ?> <?php echo get_the_time('G:ia') ?> の get_the_time('F jS, Y') を ○get_the_time('Y/m/d') get_the_time('G:ia') を ○get_the_time('G:i') に変更で、 投稿: 2011/04/12 at 16:04 と表示されます。
最終更新日
2011年04月12日 16時54分06秒
コメント(0) | コメントを書く |
|