WordPress.org

Support

Support » Plugins and Hacks » Tricky! Creating a search function for a custom post type

Tricky! Creating a search function for a custom post type

  • Hi,

    My first post here at the WP Forum. I’m trying to come up with a search function that looks for a custom post type that I’ve built but I’m not sure as how to approach this.

    Let’s say I want to send $_GET data to another file while still maintaining WP’s permalinks – is this even possible?
    Instead of creating a pyramid of if statements as your own type of search result page, can I use WP’s core result functions with custom post types? That would save both headaches and lots of lines with code.

    Also note that I am using WPML if this would affect such a function.

  • The topic ‘Tricky! Creating a search function for a custom post type’ is closed to new replies.