Plugin info

Total downloads: 1,295
Active installs: 0
Total reviews: 1
Average rating: 1
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 10/24/2014 (4086 days ago)
Added to WordPress: 10/22/2014 (11 years old)
Minimum WordPress version: 3.8
Tested up to WordPress version: 4.0.38
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4086 days ago • 1 reviews

22/100

Is British Foreign Office Travel Advice abandoned?

Possibly abandoned (last update 4086 days ago).

Compatibility

Requires WordPress: 3.8
Tested up to: 4.0.38
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

British Foreign Office data includes information on safety and security, terrorism, local laws and customs, entry requirements, health and other aspects of travel for countries across the globe.

You can display the data in two ways:

  • Via a button which pulls through the data via ajax

  • Loads the data directly while loading the page

Directions

1) Install the plugin

2) Create a custom meta tag called ‘geo_country’ to any post, adding the country you want information for. A full list of countries is available from the BFO website.

3) There are two shortcodes you can use:
[fo-advice] – gets info as the page loads (displayed in an accordion type box)

[fo-advice-button] creates a button which when clicked, will retrieve and display the data via ajax.

Demos

Info loading as the page loads

Button and ajax loading

Suggestions

Create a text widget with a title called ‘BFO Advice’
Drop the shortcode in the text area.

or

Drop the code below into your widgets area of your code. It will only display a widget if the meta tag ‘geo_country’ is detected.

';
echo '

Foreign Office Advice

'; echo do_shortcode(''); echo '
'; }; ?>

The way the information is formatted into elements is near the bottom of index.php (line 207 onwards). You can add a title by unremarking line 208. We’ve deliberately left the code with lots of space and relatively easy to understand so you can reformat how you see fit.

Beware! The elements and their classes / IDs are tied in to the accordion. For the accordion reference and options see www.snyderplace.com

Donate

You can always donate as a way of saying thanks!

Additional Info

Thanks to www.snyderplace.com for the JQuery Accordion.

Installation

  1. Upload plugin-name.php to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create a custom meta tag in any post called ‘geo_country’. Include the country as the meta tag value.
  4. Use the shortcode [fo-advice] or [fo-advice-button]

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.0

  • Initial release