Hi,
I’ve set up a new custom post type called answers in wordpress. I have set up and styled the single-answers.php page which is great. How can I set the home page to show posts of the custom post type ‘answers’ rather than ‘post’ ?
Thanks
Oh and to set up the live search to work with this post type
Hello,
Thanks for writing. Unfortunately we don’t provide support in customizations.
As I hint I can tell that you should look at the function nicethemes_knowledgebase() to see how the articles are listed on the home page.
Second, you can use a filter to add/remove which items to show in the live search results: https://gist.github.com/juanfraa/72c242ec4c4b35263055
Best,
Juan.