NiceThemesCustom Post Type styling – NiceThemes http://nicethemeswp.com/forums/topic/custom-post-type-styling/feed/ Sun, 20 Apr 2025 22:48:36 +0000 http://bbpress.org/?v=2.5.12-6148 en-US http://nicethemeswp.com/forums/topic/custom-post-type-styling/#post-5227 <![CDATA[Custom Post Type styling]]> http://nicethemeswp.com/forums/topic/custom-post-type-styling/#post-5227 Mon, 26 Jan 2015 01:19:04 +0000 mortonc 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

]]>
http://nicethemeswp.com/forums/topic/custom-post-type-styling/#post-5228 <![CDATA[Reply To: Custom Post Type styling]]> http://nicethemeswp.com/forums/topic/custom-post-type-styling/#post-5228 Mon, 26 Jan 2015 01:19:33 +0000 mortonc Oh and to set up the live search to work with this post type

]]>
http://nicethemeswp.com/forums/topic/custom-post-type-styling/#post-5230 <![CDATA[Reply To: Custom Post Type styling]]> http://nicethemeswp.com/forums/topic/custom-post-type-styling/#post-5230 Tue, 27 Jan 2015 01:29:19 +0000 Juanfra Aldasoro 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.

]]>