2014-09-21 32 views

回答

0

如果你決定使用樣式屬性,我會使用beforeafter選項,像這樣:

wp_get_archives(
    array(
     'type' => 'postbypost', 
     'limit' => 10, 
     'format' => 'html', 
     'before' => '<span style="color: red;">', 
     'after' => '</span>', 
    ) 
); 

當您更換color: red;與任何你想要的風格。

相關問題