2017-12-19 wordpressの$post->post_dateの日付の表示形式を変更したい PHP WordPress strftimeが使えるのかと思ったら使えなかったので mysql2dateを使う <?php echo mysql2date('Y/m/d', $post->post_date); ?> フォーマットはstrftimeと同じみたいです PHP: date - Manual