How do I get the Permalink…?
-
Hey someone…
How would I dynamically get the Permalink using this code…
<?php
$categories = get_categories(‘exclude=9&title_li=’);
foreach ($categories as $cat) {
echo “<h2>“.$cat->cat_name.”</h2><p>”.$cat->category_description.”</p>”;
}
?>I’m trying to dynamically list categories and the descriptions and the link… in a custom sidebar…
Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How do I get the Permalink…?’ is closed to new replies.