This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Place this data between the <head> tags of your website --> | |
<title>Page Title. Maximum length 60-70 characters</title> | |
<meta name="description" content="Page description. No longer than 155 characters." /> | |
<!-- Twitter Card data --> | |
<meta name="twitter:card" value="summary"> | |
<!-- Open Graph data --> | |
<meta property="og:title" content="Title Here" /> | |
<meta property="og:type" content="article" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Converting address to latitude and longitude | |
*/ | |
function setLatitudeAndLongitude($address) { | |
$address = urlencode($address); | |
$request_url = "http://maps.googleapis.com/maps/api/geocode/xml?address=".$address."&sensor=true"; | |
$xml = simplexml_load_file($request_url) or die("url not loading"); | |
$status = $xml->status; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$things_to_do = pods( 'things_to_do' ); | |
$limit = 9; | |
$params = array( | |
'fields' => array( | |
'region', | |
'activity', | |
'legend_items' | |
), |
NewerOlder