Separate custom post type search results from blog search results
I’m working on a new blog using the latest WordPress 3.0 RC, but I have a problem with the use of custom post types. I’ve asked on some French forums but I didn’t get any answer so I thought I should give this forum a try !
What I did on my website is creating two distinctive parts : one for a podcast, the other for a blog. I’ve used custom post types for the podcast part, but what I would like to do now is about the search.
When someone searches for something on this site, I want him to be redirected to the search.php page on which they will see two separate columns : one with the podcast entries, and the other one for the blog entries. I don’t want them to be mixed, because they don’t show up the same way (podcast entries have thumbnails and a flash player, blog entries have a date and a title only).
I’ve tried some solutions but It keeps displaying both results… I’m no expert of php and I’ve searched everywhere without finding any solution. I hope my question was clear enough :/ Thanks !
- The topic ‘Separate custom post type search results from blog search results’ is closed to new replies.