From Marty, 2 Years ago, written in PHP.
Embed
  1. /*
  2.         Flight Radar 24 Shortcode
  3.         http://www.flight.org/flight-radar-24-wordpress-plugin
  4.         http://www.flightradar24.com/faq/
  5.     Download the WordPress Plugin from flight.org
  6. */
  7.  
  8.  
  9. function beliefmedia_flightradar_sc($atts, $content=null) {
  10.   extract(shortcode_atts(array(
  11.    'lat' => '-33.94',
  12.    'lng' => '151.16',
  13.    'zoom' => '8',
  14.    'width' => '100%',
  15.    'height' => '500',
  16.    'align' => 'center'
  17.      ), $atts));
  18.  
  19.    return '<p align="' . $align . '"><iframe src="http://www.flightradar24.com/simple_index.php?lat=' . $lat . '&lon=' . $lng . '&z=' . $zoom . '" width="' . $width . '" height="' . $height . '"></iframe></center>';
  20. }
  21. add_shortcode('flightradar', 'beliefmedia_flightradar_sc');

Replies to FlightRadar24 Shortcode rss

Title Name Language When
Re: FlightRadar24 Shortcode Anonymous html5 3 Months ago.
Re: FlightRadar24 Shortcode Anonymous html5 1 Year ago.
Re: FlightRadar24 Shortcode Anonymous php 1 Year ago.