Custom Post Type styling

This support request was posted in Flatbase by mortonc

Request ID #5227 In Progress
  • 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

    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.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server