AAM Page Category
-
Hi, I have installed a Page Category plugin that you wrote, which works excellently, and now I’m looking for a way to echo the category name/slug in my template. The standard way of calling categories as for posts (below) doesn’t seem to work.
<?php $category = get_the_category(); echo $category[0]->slug; ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘AAM Page Category’ is closed to new replies.