WP Manifestindependent plugin directory
manifest / integrations / fhr-wordpress-search-plugin

FHR Search self-updates

Wordpress plugin for FHR

by Andy Mortimer · github.com/aamortimer/fhr-wordpress-search-plugin · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/aamortimer/fhr-wordpress-search-plugin/archive/refs/heads/master.zip

Ships its own WordPress updater (built-in updater), so new versions show up under Dashboard → Updates.

~Current Version:1.9.2~

FHR Search Plugin

This Wordpress plugin allow you to easily add FHR searches to your Wordpress site, the plugin contains several widgets which allow you to add each of the search form FHR provide and also list all the hotels and car parks available.

Become an FHR affiliate

The FHR affiliate program is run though Affiliate Window if you would like to join please go to http://www.fhr-net.co.uk/affiliate/

Shortcodes

[fhr_search_form]

The above will show the default search form and use all default settings

[fhr_search_form form=\'airport-parking\' agent=\'fhr\' affwin=\'1111\' airport=\'gatwick\']

The above is a demo off the parameters you can pass in.

[fhr_search_form] Parameter values

All parameters are optional defaults will be selected from the settings panel, except for form which defaults to parking

  • form airport-parking, airport-parking-and-hotels, airport-hotels or airport-lounge
  • agent your FHR agent ID
  • affwin your Affiliate Window ID
  • airport the default airport to select

[fhr_carpark_list]

The above will out put a html list for the default airport set in settings.

[fhr_carpark_list agent=\'fhr\' affwin=\'1111\' airport=\'gatwick\']

The above is a demo off the parameters you can pass in.

[fhr_carpark_list] Parameter values

All parameters are optional defaults will be selected from the settings panel, except for form which defaults to parking

  • agent your FHR agent ID
  • affwin your Affiliate Window ID
  • airport the default airport to select

[fhr_hotel_list]

The above will out put a html list for the default airport set in settings.

[fhr_hotel_list agent=\'fhr\' affwin=\'1111\' airport=\'gatwick\']

The above is a demo off the parameters you can pass in.

[fhr_hotel_list] Parameter values

All parameters are optional defaults will be selected from the settings panel, except for form which defaults to parking

  • agent your FHR agent ID
  • affwin your Affiliate Window ID
  • airport the default airport to select

[fhr_price_from]

The above will out put a div with the current from price based on the selected airport

[fhr_price_from agent=\'fhr\' affwin=\'1111\' airport=\'gatwick\']

The above is a demo off the parameters you can pass in.

[fhr_price_from] Parameter values

All parameters are optional defaults will be selected from the settings panel, except for form which defaults to parking

  • agent your FHR agent ID
  • affwin your Affiliate Window ID
  • airport the default airport to select
  • price_only specifies weather the shortcode should only show price and no link default to false

[fhr_lorem]

The above will output some lorem text

[fhr_lorem number=\'5\' type=\'text\']

The above is a demo off the parameters you can pass in.

[fhr_lorem] Parameter values

All parameters are optional

  • type default is text, options are text or list
  • number the number of paragraphs or list items to show<

[fhr_lorem_pixel]

The above will output a http://lorempixel.com/ image

[fhr_lorem_pixel width=\'400\' height=\'400\' type=\'business\']

The above is a demo off the parameters you can pass in.

[fhr_lorem_pixel] Parameter values

All parameters are optional

  • type default is business, options are abstract, city, people, transport, animals, food, nature, nightlife, sports, cats, fashion or technics
  • width the width of the image default is 200
  • height the height of the image default is 200

Change Log

v1.9 Moved price shortcodes into a span rather then a div

v1.8 Fixed error with shortcodes outputing outside containers

v1.7 Added XML results for airport hotels

v1.6 Added XML results for airport lounges

v1.5 Added XML results for airport parking