我正在使用这个主题的WordPress的网站和即时通讯:Ermark Adora如何显示类别描述?
我想能够添加描述到我的类别。这是代码将在函数文件中的代码。 Here's the entire functions page (towards the end of the page)。
<li class="categ">
<h3> - '.$categ->name.' - </h3>';
if ($products_full=='true') {
$src['full_categ'] .= '<a href="#" class="less-products">'.__('view all','adora').'</a>';
$src['full_categ'] .= '</li>'
需要在oder中添加什么代码才能显示类别的描述?
[你尝试过什么(http://www.whathaveyoutried.com/)? – Matt 2012-08-13 20:37:02
我试过'category_description($ category_id);'但我不知道如何编写它才能工作。 – ChrisBedoya 2012-08-14 01:14:04