One category on home page
Hello,
I just have a quick question, I couldn’t find the option for it so I was wondering if it is possible to maybe only display questions of ONE category on the home page? Instead of questions from multiple categories? Thanks for the help!
Anonymous selected answer
Yeps its possible.
Update to 3.0 from GitHub and then add this code in home.php template:
<?php echo do_shortcode('[anspress categories="category_ID"]'); ?>
And its done.
Anonymous selected as best answer
George (Buyer) commented
Quick question, when you reference category_ID where can I find the “ID”? Thanks.
Kumar commented
You can use category slug too. You find category ID and slug in question category edit page.
I will attempt this method and get back to you if this works! Thanks!