I’m working on a wordpress site and im using this theme: Ermark Adora
I want to be able to add a description to my categories. Here’s the code on the functions file where the code would go. 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>'
What code do I need to add in oder to display the category’s description?
I found the answer:
<h3> - '.$categ->name.' -</h3><p> '.$categ->description.' </p>';