2013-10-30 60 views
0

我有這樣的代碼在foreach循環中:WordPress的店the_date()一個陣列

<?php $current_date[] = the_date('F Y'); ?> 

什麼即時試圖做的是所有的日期收集到一個數組

但是當我print_r的我的數組,什麼都沒有出現......我該如何解決這個問題?

+1

'get_the_date()' –

回答