81 Billion

Websites in Singapore that are highly effective and visually appealing

Retrieving child and grandchildren category

Posted on | December 4, 2012 | Comments Off on Retrieving child and grandchildren category

‘name’,
‘order’ => ‘ASC’
);
$categories=get_categories(‘child_of=36’);
foreach($categories as $category) {
echo ‘

‘ . ‘ ‘ . $yourcat->name . ‘

‘;
}
?>

‘;
the_title();
echo ‘

‘;
the_content();
endwhile;
wp_reset_query();
?>

Back to Online Library

Comments

    About

    This is an area on your website where you can add text. This will serve as an informative location on your website, where you can talk about your site.

    Subscribe to our feed

    Search

    Admin