-4
我对此很陌生,想知道上面哪行应插入CSS样式..任何人都可以看到我吗?如何插入CSS样式到由wp_get_archives生成的输出
<?php wp_get_archives(array('type' => 'postbypost', 'limit' => 10, 'format' => 'html')); ?>
我对此很陌生,想知道上面哪行应插入CSS样式..任何人都可以看到我吗?如何插入CSS样式到由wp_get_archives生成的输出
<?php wp_get_archives(array('type' => 'postbypost', 'limit' => 10, 'format' => 'html')); ?>
如果你决定使用样式属性,我会使用before
和after
选项,像这样:
wp_get_archives(
array(
'type' => 'postbypost',
'limit' => 10,
'format' => 'html',
'before' => '<span style="color: red;">',
'after' => '</span>',
)
);
当您更换color: red;
与任何你想要的风格。
你能改善你的答案吗? – ReynierPM 2014-09-21 04:35:54
你想做什么?你没有打扰任何细节? – 2014-09-21 04:36:38