【WordPress】WPtouchを自分好みにカスタマイズ、日付
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と表示されます。