Booking.com Official Search Box

Beskrivelse

Dette plugin opretter et søgefelt som Booking.coms affiliatepartnere kan implementere på deres website ved hjælp af deres affiliate-id.

If you’re not an Affiliate Partner yet, you can still implement the plugin. To get the most out of the plugin and earn commission, you’ll need to sign up for the Booking.com Affiliate Partner Programme.

For at implementere søgefeltet skal du bare trække pluginet fra widget-området i sidepanelet for at udgive det – det er alt!

Once installed, you can choose a pre-filled destination for the search box. This destination is linked to a destination ID, avoiding potential issues for multiple cities with the same name. You can also change the pre-filled destination for each page or post where the search box is displaying, thanks to the meta box feature showed at the end of the editing area.

Du kan også tilpasse søgefeltets farve, tekst og størrelse, så det passer til dit website. Du kan læse mere under "Fordele".

Egenskaber

  • Brugervenligt: Du behøver ingen viden om programmering eller JavaScript! Vi opretter et standardsøgefelt der er klart til at blive implementeret på dit website.
  • Responsivt design: Søgefeltet tilpasser sig automatisk til bredden på dit websites sidepanel
  • Fleksibelt søgefelt: Søgefeltet kan forudfyldes med rejsemål, og der er mulighed for forskellige forudfyldte rejsemål på forskellige sider og indlæg.
  • Forhåndsvisning før du udgiver: Du kan se en forhåndsvisning af pluginet i dine indstillinger før det bliver udgivet på dit website.
  • Flersproget søgefelt og indstillinger for kontrolpanelet: Nu på mere end 40 sprog.
  • Ydelser: CSS og JavaScript anvendes kun når det er nødvendigt
  • Support: You can always contact your Strategic Partnerships Technical Team for technical support
  • Earn more: Join our Booking.com Affiliate Partner Programme

Muligheder for tilpasning

  • Tilføj dit affiliate-id (f.eks. 382821): Bemærk at dit affiliate-id ikke er det samme som dit partner-id der som regel starter med "4".
  • Adjust the width of the search box (min-width is 200px)
  • Forudfyld søgefeltet med navnet på et rejsemål for at vise filtrerede søgeresultater
  • Tilføj en fleksibel datofunktion
  • Preset check-in and check-out dates
  • Tilpas Booking.com-logoet: Det findes i blåt eller hvidt og i tre størrelser (150×25, 200×33, 300×50)
  • Vælg placering af logo: centreret, venstre eller højre
  • Forudfyld et bestemt rejsemål: Hvis du vil filtrere søgeresultaterne yderligere, kan du vælge rejsemålstype (f.eks. by eller vartegn) og et bestemt rejsemåls-id.
  • Vælg bestemte rejsemål til indlæg og sider
  • Skift primære farver: baggrund, tekst, baggrundsfarve på knapper, kant på knapper, tekst på knapper.
  • Du kan vælge mellem et uendeligt antal farver i farvevælgeren
  • And much more…

Skærmbilleder

  • Searchbox Main settings section.
  • Searchbox Destination settings section.
  • Searchbox Colour settings section.
  • Searchbox Calendar settings section.
  • Searchbox text settings section.
  • Gutenberg block editor, with on the right some of the settings you can change for the widget in the content (not the sidebar) and on the bottom the meta box to change the destination.
  • Example of the sidebar and content widget.

Blokke

Dette plugin giver 1 blok.

  • Bookingcom Searchbox Block Booking.com Searchbox Gutenberg Widget.

Installation

Den første installation

  1. Download zip-filen fra denne side
  2. Log ind på dit WordPress-kontrolpanel
  3. Gå til Plugins >> Add New under sektionen Install Plugins, klik på Upload, og brug knappen Gennemse til at finde den zip-fil du downloadede i punkt 1.
  4. Når søgefeltet er aktiveret, kan du begynde at bruge det under Appearance >> Widget
  5. Hvis det er nødvendigt, kan du tilpasse søgefeltet under indstillingerne.

Efterfølgende opgraderinger

  1. Du kan opgradere via plugin-panelet

FAQ

Kan jeg ændre standardstekst- og farver?

Ja. Pluginet har et indstillingsområde hvor du kan skifte farver og tekst samt tilføje et affiliate-id hvis du har et.

Hvad er programmet for affiliatepartnere, og hvordan tilmelder jeg mig?

By joining the Booking.com Affiliate Program you can earn commissions on any reservation made through the search box created by this plugin. Please check this page to learn more about the Booking.com Affiliate Program.

Kan jeg bruge pluginet selvom jeg ikke er affiliatepartner endnu?

Yes, it’s possible. You don’t need to be an Affiliate Partner to implement the plugin, but you could start earning commissions today becoming one. Sign-up now.

Kan jeg indsætte widgeten flere steder?

The Booking.com Official Search Box plugin can be placed on a sidebar and also in the content of a page (via Block Editor). Multiple search boxes in different widget areas in the same page would affect the functionalities. However, you can use the Meta Boxes feature to display the same widget with different destinations for each post and page.

Hvilken version af WP er dette plugin kompatibelt med?

Pluginet fungerer fra WP version 3.0 og nyere.

Anmeldelser

16. december, 2020
Once installed the plugin causes errors in the pages and posts are repeated with errors. Support does not exist, no one has answered in the forum for months …
6. august, 2019
The experience with this company is terrible. 1. Their plugin doesn’t work and is very limited. 2. They don’t honor their affiliates with money. They will arbitrarily say you don’t “pass” their “quality test”. So don’t waste your time.
Læs alle 9 anmeldelser

Bidragsydere & udviklere

“Booking.com Official Search Box” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere

“Booking.com Official Search Box” er blevet oversat til 12 sprog. Tak til oversætterne for deres bidrag.

Oversæt “Booking.com Official Search Box” til dit eget sprog.

Interesseret i udvikling?

Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.

Ændringslog

3.0.5

  • Release November 2025
  • Fixing a persistent date issue in Block Editor.

3.0.4

  • Release November 2025
  • Fix date format in Block Editor.

3.0.3

  • Release November 2025
  • Fix: German Language format.

3.0.2

  • Release October 2025
  • Fix: Language formats.
  • Fix: Missing translation for destination placeholder.

3.0.1

  • Fix : Calendar language not being picked up correctly.

3.0.0

  • Release June 2025
  • New: Redesigned admin panel.
  • New: Calendar, with multi calendar display and range selection.
  • New: show weeknumbers on the calendar.
  • New: searchbox block editor element, add the Booking.com searchbox to your page using wordpress gutenberg block editor.

2.3.1

  • Release Feb 2022
  • Fix : Default dates in searchbox not reflecting language of website.
  • Fix : Changing format of dates when selecting in backend. This due to an error shown up when selecting pre-set dates.

2.3.0

  • Release Feb 2022
  • Fix : JS dates incorrect language when selecting date
  • Fix : Minor css tweaks
  • New : Added calendar styling customisation for, selected date background, selected date text and daynames

2.2.9

  • Release Feb 2022
  • Fix : Minor JS error when searchbox not present on page
  • Fix : Minor css fixes
  • New : Adding option to change background colour for destination and dates fields
  • New : Adding option to change text colour for destination, dates fields and headline
  • New : Adding option to change headline size

2.2.8

  • Release Jan 2022
  • Fix : Minor css issues calendar

2.2.7

  • Release Jan 2022
  • Fix : Calendar layout in smaller width
  • Fix : Calendar color css when hover days
  • Update : Setting min-width for searchbox at 200px, this due to the calendar

2.2.6

  • Release Jan 2022
  • Fixed incorrect version number

2.2.5

  • Release Jan 2022
  • Fix: Calendar displaying past dates
  • Fix: Calendar displayed some incorrect languages or not being translated

2.2.4

  • Release Jan 2022
  • Fix : Called css internal instead of external

2.2.3

  • Release Jan 2022
  • Fix : Security issues
  • Redesign of the calendar

2.2.1

  • Release Feb 2019
  • New Feature: chance to preset check-in and check-out dates ( useful for example in case of events in specific dates etc… )

2.1.1

  • Release Jul 2018
  • Fix : get rid of warning about screen_icon() icon and get_screen_icon()

2.1

  • Release Feb 2018
  • Compatibility : checked compatibility with latest Wp versions
  • Fix : custom colour for “I don’t have specific dates yet”

2.0

  • Release December 2016
  • Fixed missing copy for languages
  • Added internazionalization-ready feature to make plugin’s page available in different languages

1.9

  • Release October 2016
  • Added korean language

1.8

  • Release October 2016
  • Added japanese language

1.7

  • Release April 2016
  • Fixed affiliate ID field in settings cannot get 7 digits number
  • Fixed error message about cname when input field empty

1.6

  • Release April 2016
  • Fixed typo “cclass” on line 109 of bos_date_array.php – thanks gezginrocker
  • Added chance to add cname

1.5

  • Release August 2015
  • Compatible with WP 4.3
  • Fixed bug in preview mode on check-in and check-out resetting to day 1
  • Fixed bug in preview mode when clicking on lock icon when a destination is preset no action performed and no tooltip appears
  • Installed Turkish translation

1.4

  • Release April 2015
  • Added ‘save’ button to widget area: useful for plugins like ‘Fixed widgets’ using this feature
  • Added a control on affiliate ID input field in order to prevent user placing Partner ID instead of Affiliate ID
  • Added Polish language
  • Chance to specify Custom Post Types where to display Booking.com destination meta box
  • Checkin and checkout set on current date even for cached pages
  • Added airport to destination types
  • Small css fixes

1.3.2

  • Release January 2015
  • Added Chinese ( traditional and simplified ) and Dutch
  • Fix february copy issue for French translation ( only short format )
  • Removed protocol select in settings ( now taken automatically )
  • Added submit position select ( left, right or centre )
  • Minor css fixes

1.3.1

  • Release October 2014
  • Minor fixes for German, Italian, French and Russian translations
  • Fix issue with not displaying widget when no previuos settings in database
  • Fix strange characters on month-year dropdown
  • Added landmark for destination types

1.3

  • Release October 2014
  • WordPress 4.0 compatible
  • Meta Boxes ( also known as Custom Fields ) : choose different destination for posts and pages
  • More accurate searches with destination type and ID
  • New color picker ( wpcolor picker from WP core )
  • Admin pages translated into same languages of the widget
  • Added russian translation
  • Error dates message
  • Minor css fixes
  • New restore default settings button
  • New https feature for secure enviroment installation
  • Increased performances: less DB writing on installation

1.2

  • Release July 2014
  • Extends calendar select menu to one year window

1.1

  • Release June 2014
  • Fixed some minors css issues ( Ex. calendar misalignment, button width etc… )
  • Fixed issue on last month not-showing in check-out select
  • Added Portuguese ( brazilian ), Spanish and Indonesian to searchbox widget ( not admin settings )
  • Added a flexible-dates feature
  • Improved preview feature
  • Improved the cleaning process after uninstallation: from this version onwards user settings will be kept into db
  • Versioned Css and Javascript

1.0

  • First release – April 2014