Forums

Search.php Templates for different post types (1 post)

  1. Oliver Farrell
    Member
    Posted 11 months ago #

    Currently working on a websites that has a number of different search forms. The search's include:

    1. General site search - filters through posts and pages
    2. Course search - filters through all posts that are of the custom post type 'courses'.

    As you can imagine, what information needs to be shown on the general site search results is different to that of the course search.

    Is there any way to have perhaps a template that can be called for each type of search to ensure only the relevant information is shown?

    All suggestions are appreciated.

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 11 months ago by Oliver Farrell
  • This topic is not resolved
  • WordPress version: 3.4