Plugin for specific search in categories

Discussion in 'WordPress' started by ashley76, Jan 14, 2012.

  1. #1
    Here is what I am trying to do and would love it if there is already a plugin or someone else knows how to do it.

    I want to create a category named "Archive"

    This category would be posts featuring something like cars. Each page would be about a different car. There would also be certain fields (custom?) for each car. Example below

    Color: XXX
    MPG: XXX
    Sunroof: XXX
    Vehicle type: XXX

    Now I want those to be in each post and to be able to search for specific ones. Example search for cars that are red (but this only searches in this one category and by just the custom field).

    Anyone know of a plugin that would do this?
     
    ashley76, Jan 14, 2012 IP
  2. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #2
    hmansfield, Jan 14, 2012 IP
  3. ashley76

    ashley76 Active Member

    Messages:
    82
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #3
    I understand, but searching for "red" will pull everything that has "red" in it. Not just specifically from articles in a certain category and then only from small portion of the article that says "color: Red".
     
    ashley76, Jan 14, 2012 IP
  4. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #4
    And you want to do this from one single search box? IOW, the search box needs to tailor the search based on which page is showing?
     
    hmansfield, Jan 14, 2012 IP
  5. ashley76

    ashley76 Active Member

    Messages:
    82
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #5
    ashley76, Jan 14, 2012 IP
  6. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #6
    Yeah...you're going to have to build that. There is no plug in that does it that way.
    However, real estate plug ins and themes are already created to do this, and you could hack it a little to just change the terminology from housing terms to automobile terms. Swap # of bedrooms for colors, styles for make and model and so forth.
     
    hmansfield, Jan 14, 2012 IP
  7. ashley76

    ashley76 Active Member

    Messages:
    82
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #7
    Interesting. Thanks for the information!
     
    ashley76, Jan 14, 2012 IP