Search Error after upgrade
This topic contains 10 replies, has 2 voices, and was last updated by Stiofan O’Connor 9 years ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
October 11, 2016 at 2:53 pm #281359
Hi I have just done all of the upgrades from today, but now it brings back an error when i search
search was not successful for the following reason: ERROR
for example try entering WV3 9PT as a location search at the top of this page
http://whichweddingvenue.co.uk/venue/village-hall-wedding-venues/
If i manually enter the dynamic variables into the url it works fine,
Thanks
David
October 11, 2016 at 3:02 pm #281361HI David,
Can you please provide wp-admin details and i will check it out?
Thanks,
Stiofan
October 11, 2016 at 3:13 pm #281364This reply has been marked as private.October 11, 2016 at 3:46 pm #281415Thanks, Please check now.
Stiofan
October 11, 2016 at 3:50 pm #281418This reply has been marked as private.October 11, 2016 at 3:54 pm #281421It works fine on chrome browser, but still same on firefox
October 11, 2016 at 4:25 pm #281432Good spot, fixed now!
Stiofan
October 11, 2016 at 4:45 pm #281457Great thanks, works now.
Think might be slight css error aswell, as i am using your latest one (do not think it is anything i have added css wise)
But if you select area from the drop down, for example Wolverhampton, it used to go blue to indicate selected but now it is made white, same as background so cannot see it. If i delete the following in firebug it shows
background: #fff none repeat scroll 0 0;
from wp-content/plugins/geodirectory/geodirectory-assets/css/gd_core_frontend.css?ver=1.6.9
}
body .geodir-listing-search.gd-search-bar-style .geodir-loc-bar .clearfix.geodir-loc-bar-in .geodir-search select, body .geodir-listing-search.gd-search-bar-style .geodir-loc-bar .clearfix.geodir-loc-bar-in .geodir-search input[type=”text”], body .geodir-listing-search.gd-search-bar-style .geodir-loc-bar .clearfix.geodir-loc-bar-in .geodir-search input.ac_input[type=”text”] {
background: #fff none repeat scroll 0 0;
border: 1px solid #ccc;
border-radius: 3px;
display: block;
float: left;
font-size: 14px;
height: 38px;
margin: 0 !important;
max-width: 100%;
padding: 5px;
width: 100% !important;
}October 11, 2016 at 5:04 pm #281497This reply has been marked as private.October 11, 2016 at 7:13 pm #281651Ok great, thanks. Always available to help, the new search features are looking good…
One final question, is there a way to sort the categories into Alphabetical order, for example if you drop down the search options on this page.
http://whichweddingvenue.co.uk/venue/warwickshire/
It would be really helpful if the Wedding Venue Types were in Alphabetical order, and not in ID order?
Thanks
David
October 12, 2016 at 9:27 am #282013Nice use of the search form 🙂
If a select is used then its ordered by a-z, otherwise its ordered by cat count.
You can override the order with the code snippet below.add_filter('geodir_filter_term_args','_my_geodir_filter_term_args',10,2); function _my_geodir_filter_term_args($args, $site_htmlvar_name){ $args = array( 'orderby' => 'name', 'order' => 'ASC', 'hide_empty' => true ); return $args; }Thanks,
Stiofan
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket