[insert_php]
$args = array(
‘orderby’ => ‘name’,
‘order’ => ‘ASC’,
‘child_of’ => 65,
‘hide_empty’=> 0
);
$categories = get_categories($args);
if ($categories) {
echo ‘Subcategorías
- ‘;
- foreach($categories as $category) {
- ‘ . $category->name.’
- echo ‘
‘;
}
echo ‘
‘;
}
[/insert_php]
Entradas:
[display-posts category=»actividades-y-noticias» posts_per_page=»-1″ include_date=»true» order=»ASC» orderby=»title»]