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!
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.
Quick question, when you reference category_ID where can I find the “ID”? Thanks.
You can use category slug too. You find category ID and slug in question category edit page.
I think you can set up your category as the home page:
1. Create a page which linking to your category.
2. Set up home page using static page you’ve created at step 1.
Hope this idea may help you
Thanks! I’ll get back to you on this too, I want to test both the solutions, thanks!
I will attempt this method and get back to you if this works! Thanks!