• Resolved allfrom1supply

    (@allfrom1supply)


    Hi. Hoping I can get some help with setting this up. Level of experience is low. I am trying to set up a directory to search for contractors. I would like to have the text search, category search and Zipcode search. People may search for contractors using our products by zip, by category, by state, or free text.

    I have been going in circles and with the code below I see the zip code and text search but not the category search. I set the ‘View All’ text to 0 because in earlier efforts I saw categories but the ‘Show All’ text only showed ‘Show’ and now I am where you see (no where). I’m wondering if anyone can help me so I can show all options for the most robust search.

    [cn_multi_category_search category=’5|0|View Construction Remodeling|Searching Construction Remodeling: %s,4|0|View Maintenance Repair|Searching Maintenance Repair: %s’,3|0|View Self-Storage Painters|Searching Self-Storage Painters: %s|checklist’ enable_keyword=true’ enable_zipcode=’true’ radius_options=’5:5 Miles|10:10 Miles|15:15 Miles|20:20 Miles’]

    [connections enable_pagination=’TRUE’ page_limit=21]

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter allfrom1supply

    (@allfrom1supply)

    Sorry it ended being the bane of programmers – one unmatched single quote- that kept the page from working as expected.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    It’s great to hear you were able to resolve it! I think when I ever finish the second revision, the shortcode will be far more straightforward, as the category option is nowhere near as complex.

    Thread Starter allfrom1supply

    (@allfrom1supply)

    Well I think I jumped too soon. I saw the fields appear and thought “AH HA!” but if you look at the page while the category dropdowns ‘drop down’ they don’t actually locate any contractors. This is the code I am using

    [cn_multi_category_search enable_zipcode=true radius_options=’5:5 Miles|10:10 Miles|15:15 Miles|20:20 Miles’ radius_unit=mi category=’5|Show All| Find Construction Remodel| Showing Construction Remodel: %s|select,4|Show All| Find Maintenance Repair| Showing Maintenance Repair: %s|select,3|Show All| Find Self-Storage Painters| Showing Self-Storage Painters: %s|select’ show_category_count=true enable_keyword=false ]
    [connections enable_pagination=true page_limit=21]

    This is the page

    https://help.allfrom1supply.com/contractor-search/

    Thank you for any help.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    From what I can tell, the categories have no children categories. They need to have children because those are a user’s options.

    The single entry listed seems to be attached only to those top-level parent categories assigned as the category dropdown choice. When you add the child category options, you should update that entry to include one or more of those children’s categories.

    I hope that helps!

    Thread Starter allfrom1supply

    (@allfrom1supply)

    Ah, Thank you. That worked.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Good to hear! Have a great day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multi_Category Search Help’ is closed to new replies.