Results 1 to 5 of 5

Thread: Add & Search Multiple Categories

  1. #1
    Thread Starter
    Amateur
    Not a Verified Customer
    timrab's Avatar
    Join Date
    Mar 2010
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Add & Search Multiple Categories

    Hi All,

    Is there a way of implementing an ability to add a single post(advert) to more than one category. Also an ability to search (on the front end) within more than one category.

    Ideally im after something like this...

    Front End Search:
    Set up search on the front end with two multiple select list boxes. One for category and the other location like so ...

    Input Field
    Code:
    <input type="text" name="s" id="s" class="input" />
    Category
    Code:
    <SELECT MULTIPLE NAME="Category">
    <OPTION VALUE="c1">Cat 1
    <OPTION VALUE="c2">Cat 2
    <OPTION VALUE="c3">Cat 3
    <OPTION VALUE="c4">Cat 4
    <OPTION VALUE="c5">Cat 5
    </SELECT>
    Location
    Code:
    <SELECT MULTIPLE NAME="Location">
    <OPTION VALUE="l1">Loc 1
    <OPTION VALUE="l2">Loc 2
    <OPTION VALUE="l3">Loc 3
    <OPTION VALUE="l4">Loc 4
    <OPTION VALUE="l5">Loc 5
    </SELECT>
    Submit Button
    Code:
    <input type="submit" class="go" value="Go!" />

    Adding a Post(advert):
    When adding a post you are presented with the same two multiple select list boxes. One for category and the other for location like above.

    However I don't want duplicate search results on the front end. I understand advert was posted to more than one category I don't want the post be displayed more than once/repeated within the search result list. Each post form the search result (each record) will display the categories it belongs to.

    Like so

    Post Name/Title
    category 5, category 6, category 7

    Post Name/Title
    category 9, category 6

    I know this is a lot to ask but would appreciate any advice?

  2. #2
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts

    Re: Add & Search Multiple Categories

    I just wanted to point out that in terms of regional search, this is something that is being implemented in the next release of CP due out in the near future. You can read more info about that specifically in this thread: http://wpclassipress.com/forum/viewt...&t=1833&p=9248

  3. #3
    Thread Starter
    Amateur
    Not a Verified Customer
    timrab's Avatar
    Join Date
    Mar 2010
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Add & Search Multiple Categories

    Thanks Pepsi. My glad to hear regional search is being implement into version 3. However is it possible to implement the multiple category search and the ability to post into multiple categories?

    I'm willing to pay for the above modification? Anyone interested?

  4. #4
    Thread Starter
    Amateur
    Not a Verified Customer
    timrab's Avatar
    Join Date
    Mar 2010
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Add & Search Multiple Categories

    found this ...

    http://www.jeremyduffy.com/computers-in ... categories

    Now if that could be integrated with two multiple select search categories linked together that would be great.

  5. #5
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts

    Re: Add & Search Multiple Categories

    If you're looking for someone to do some customization for you, there is a ClassiPress theme services thread where other members of the community are offering their services for hire. http://wpclassipress.com/forum/viewforum.php?f=10

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)