January 4, 201115 yr I need to create an advanced search for example: - Find 'Photographer' Near 'Postcode or Area' Kind of like this one here > www.weddingwire.com on the home page. I need it to search only posts. My posts are setup in categories and subcategories, for example: - A business called "My special rings" will be in the category of "Jewellery" but not sure how i would go about introducing the area in there as well, so you can search for: - Find 'Photographer' Near 'WA2 7DB' etc Any Ideas????
January 4, 201115 yr www.bkwebdesignandhosting.co.uk Check that link its a website i have created in wordpress with a searh bar. It only searches the posts and displays it lovely in the main content area. Give it a try and search a word or two from my posts. The code to insert the wordpress search bar is this: <?php get_search_form(); ?> and is pretty simple to style to Edited January 4, 201115 yr by kingy da killa
January 4, 201115 yr Author I have a search setup already > www.myweddingreviews.co.uk I just need a slightly more advanced one specifically for the home page similar to the one on www.weddingwire.com But not sure if this can be done on wordpress, if it can i dont know how!
January 4, 201115 yr Author Maybe something like this? Linky Hmmm similar(ish) the only thing is i have loads of categories and sub-categories. Just confused how i would go about it. I was thinking that maybe if there was a search plugin that could search by category and tag, that way i could have the category as FIND = 'Photographer' and the tag as NEAR = 'Warrington' or something like that. But i dont think anything exists!
January 4, 201115 yr Hmmm similar(ish) the only thing is i have loads of categories and sub-categories. Just confused how i would go about it. I was thinking that maybe if there was a search plugin that could search by category and tag, that way i could have the category as FIND = 'Photographer' and the tag as NEAR = 'Warrington' or something like that. But i dont think anything exists! Maybe you could make the plugin using PHP? Im only learning PHP but I dont think it would be that difficult to modify an exsisting search plugin for wordpress. Could be really wrong. But im guessing you would just need to apend criteria on to it?
January 4, 201115 yr Author Im in the same boat, i dont know enough php to do something like this, so its either find a plugin or find someone who can do it. themeforest.net/item/wp-pro-real-estate-2-wordpress-theme/full_screen_preview/133791 This looks like something that could be changed to suit
January 6, 201115 yr Author Just in case anyone else is after something similar i have found a quality plugin!! wp-custom-fields-search Search by tag / category etc!
January 6, 201115 yr Hi Paul, Neat plugin.. have you figured a way to search my locality? cheers Andy
January 6, 201115 yr Author Hi Paul, Neat plugin.. have you figured a way to search my locality? cheers Andy Yeah, in the post categories i have just added a tag for the area, so for example: A business called 'x' has a category of 'Photographers' with a tag of 'warrington' for the area. Add the widget to the sidebar and users can type in their area and bring back posts for only businesses in warrington etc. www.myweddingreviews.co.uk Areas you can try include manchester, warrington, merseyside, cheshire and few others have a look on there, still got a little work to do on it, but mostly done! Edited January 6, 201115 yr by pbul2004
Create an account or sign in to comment