Tricky! Creating a search function for a custom post type (1 post)

  1. staffan.estberg
    Posted 6 years ago #


    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.

Topic Closed

This topic has been closed to new replies.

About this Topic