Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Memunculkan nama kategori:
- <?php
- $category = get_the_category();
- echo $category[0]->cat_name;
- ?>
- Memunculkan ID Kategori
- <?php
- $category = get_the_category();
- echo $category[0]->cat_ID;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement