Dear plugin users,
This new release brings you 2 nice additions :
- Czech is finally available thanks to Martin Dvořák.
- I made it easier to create a searchbox that points to a SINGLE hotel. As I figured this would still require some longer explanations, I also posted this simple walkthrough to document a bit better. This isn’t a totally new capability even though I added a clearer menu option pulling some tweaks in the booking.com code.
Dear plugin users,
Only a couple of weeks after the last update, please welcome this “maintenance” release.
Performance and overall WP best practices are always high on my list. The legacy searchbox storage function was doing a little too much for its purpose. Instead of creating entries in your “wp_postmeta” table ONLY in the context of a new searchbox, it created un-necessary entries for every post you created. Definitely not the intended purpose.
While this isn’t something I’m proud of, let’s be clear, the extra volume of information (or the weight in your WP database) is absolutely marginal and in no case this would have had an impact on your site speed or table integrity.
After a proper backup of your database (as you should), feel free to try the most popular WP database clean up plugins and you’ll notice very little difference before / after (shaved 4Kb off on this site).
Again, sincere apologies for not having it right on the first try. This flaw is fixed and you can resume creating searchboxes !
NB : Thanks to Pawel for his feedback !
Ho Ho Ho
As Santa shares love in happiness, I had a few spare hours to make a plugin update. The changes are literally based on your comments for the last few months so keep them coming !
- Updated jQuery library versions
Now pointing to Google’s CDN for version 1.11.2 instead of 1.10.
- Default Searchbox title
After a little bit of rootcausing, I realized a number of users got confused because their searchbox all had the same name : “(no title)”… And in fairness, you don’t really HAVE to add one to get the plugin to do its thing. So I’ve changed the default title text to something a bit more helpful. Of course you can still edit the title, and of course it only applies to this custom type.Also, that also led me to realize there are no mandatory fields in wordpress ! Crazy !
- Calendar CSS Isolation aka “Careful mode”
With the increasing use of jQuery UI in WP themes, more and more plugin users have been complaining about the way the plugin blends into their theme. I’ve added a theme option that will better respect your theme AND the native jQueryUI look & feel.
- Bug fixes
- jQuery calendar url was sometime acting up when using WPML. This is now fixed.
- Insert menu is no longer limited to the 5 latest searchboxes. It’ll go down to the last 25. That should be more than enough for the vast majority of users.
- Edited out some of the CSS. Will be depricated in the future.
- Readjusted the code to align the calendar icons.
See what the demo looks like now on this site.
And that’s it for now. What will come in the future is a more ‘WYSIWYG’ way of building the searchbox. You’ll choose your template (horizontal, vertical, mixed) for each searchbox. That’ll really help you doing nicer integrations and make my life easier too ! Also, this’ll allow for a proper mobile (“touch”) support.
Thanks to Agus, Nicolas, bikingviking and Constantinos for their help beta-testing this release.
If you like the update, feel free to post a review on wordpress.org !
Dear plugin users,
This plugin while things seem to be mostly stable for the large majority of you, I had a couple of requests I wanted to take care of :
- New language : Icelandic
I guess most people didn’t expected that one… and me either ! Thanks to Bikingviking, you’ll now be able to offer a stay near the legendary
Eyjafjallajökull. I’ve also added the local currency support.
- ‘H3’ tag removal from the Searchbox
A user requested some time back that I remove the H3 tag from the searchbox as this was conflicting with his site template. It should look exactly the same as before for many of you and might look much more integrated for some users.
The update notification should come in a few hours. Till then, you can see the demo of the live version or check the FAQ.
Dear plugin users,
This plugin has been stable for some time now but a few users reported bugs and long-waiting requests… I gave in and opened my editor to work through it.
- Search button customization
When I wrote “I gave in” earlier, this is really meant for that search button. From day one, plugin users pretty much asked for this (as a low priority). I guess this has been a low priority for so long, it was high time I get it on the list.
By default, the background color will remain the good old “#0896FF” blue. The border color and text color will remain linked, by default #FFF.
While I was at it, I also restyled a tiny bit the search box to soften the edges. I did not want to make it look like a web2.0 button; only trying to stick to the booking.com styleguide.
- Currency determination
Booking.com usually does a good job at picking the currency that makes sense for the visitor. Based on the hotel settings and the visitor browser settings, it should, in most cases give you an ideal combination. However, if you want to force results to be displayed in one currency, you can now do it from the admin panel. All the booking.bom currencies are supported : USD / EUR / GBP / INR / SGD / DKK / NOK / SEK / AED / AUD / BRL / CAD / CHF / CLP / CZK / HUF / ILS / JPY / MXN / PLN.
- Fixed “Destination” window
Shame on me. I purely & simply forgot to add the basic few lines of codes allowing the results to display in a new window (or not). By default, regardless of your choices in the editor, all results were being displayed in a brand new browser window. The plugin will now respect your choice. Doh…
As usual, I know there are other requests or (tiny) bug fixes that some of you have asked. It’s all on my list. Time allowing, I’ll do another release in a couple of weeks.
Keep the feedback coming and… if you like this plugin, sharing this page. Also making small donations & positive reviews on WordPress.org are always appreciated 🙂