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
// For 2 entries | |
// First Entry | |
array(18) { | |
["input_15"]=> | |
string(5) "24422" | |
["input_3_2"]=> | |
string(3) "Mr." | |
["input_3_3"]=> | |
string(5) "Byron" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<kml xmlns="http://www.opengis.net/kml/2.2"> | |
<Document> | |
<name>Directions from The Blvd, Alconbury, Huntingdon PE28 4WY, UK to Barnwell Rd, Alconbury, Huntingdon PE28, | |
UK | |
</name> | |
<Style id="icon-1899-DB4436-nodesc-normal"> | |
<IconStyle> | |
<color>ff3644db</color> | |
<scale>1</scale> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<kml xmlns="http://www.opengis.net/kml/2.2"> | |
<Document> | |
<name>Directions from Barnwell Rd, Alconbury, Huntingdon PE28, UK to Barnwell Rd, Alconbury, Huntingdon PE28, | |
UK | |
</name> | |
<Style id="icon-1899-DB4436-nodesc-normal"> | |
<IconStyle> | |
<color>ff3644db</color> | |
<scale>1</scale> |
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
<!-- In admin show all pages from the parent page venue (Uses path not name) --> | |
<perch:content id="pages" type="page_list" label="Pages" parent="venues" suppress/> | |
<!-- In admin show all pages and limit to 1 selection --> | |
<perch:content id="pages" type="page_list" label="Pages" max="1" suppress/> | |
<!-- Output the page path in template --> | |
<perch:content id="pages" type="page_list" output="pagePath" /> |
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 | |
/** | |
* Class PerchFieldType_Calendar | |
* | |
* A field type for allowing users to select dates using a calendar | |
* | |
* Examples: | |
* <perch:events id="eventStarts" type="calendar" time="true" multiple="false" label="Start Date" required help="Date the event starts at" suppress/> | |
* |
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
UPDATE wp_options SET option_value = replace(option_value, 'https://newurl.com', 'http://oldurl.com') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET post_content = replace(post_content, 'https://newurl.com', 'http://oldurl.com'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value,'https://newurl.com', 'http://oldurl.com'); | |
UPDATE wp_usermeta SET meta_value = replace(meta_value, 'https://newurl.com', 'http://oldurl.com'); | |
UPDATE wp_links SET link_url = replace(link_url, 'https://newurl.com', 'http://oldurl.com'); |