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
link(rel="stylesheet", href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css") | |
.hero | |
img(src="https://static.pexels.com/photos/207385/pexels-photo-207385.jpeg") | |
.invite <h1>Let's go exploring!</h1> | |
p Come for a barbeque of the most epic proportions! | |
a(href="#modal" class="cta") RSVP Now! | |
#modal | |
form(method='POST' action='/register') | |
.close-btn <i class="fa fa-times-circle-o" aria-hidden="true"></i> | |
h1.header Wouldn't Miss It! |
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
var zoom = 1; | |
var mapImg; | |
var clon = 0; | |
var clat = 0; | |
//Red Bank 40.3471° N, 74.0643° W | |
var lat = 40.3471; | |
var lon = -74.0643; |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> | |
<HTML> | |
<HEAD> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
<meta name="Author" content="JonasWeb"> | |
<TITLE>Event Information for your Event at Black Bear Lake Country Club</TITLE> | |
<LINK REL=stylesheet TYPE="text/css" HREF="/eventcss.css"> | |
<SCRIPT TYPE="text/Javascript" SRC="/eventnav.js"></SCRIPT> | |
</HEAD> |
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 require_once("inc/connect.php"); ?> | |
<?php require_once("inc/functions.php"); ?> | |
<?php | |
if (intval($_GET['info']) == 0) { | |
header("Location: content.php"); | |
exit; | |
} | |
if(isset($_POST['submit']) && $_POST['submit'] == "Edit") { | |
//If it is set, run form validation | |
//form validation |
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
<h2> | |
Scrape! | |
</h2> | |
<?php | |
// $sitemap = 'https://www.redbankdiner.com/page-sitemap.xml'; | |
// $domain = preg_match('/(.*):\/\/(.*)\.*\//', $sitemap, $matches); | |
// $domain = $matches[0]; | |
$domain = 'https://www.redbankdiner.com/'; |
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 | |
//customize appear options | |
function pops_customize_register( $wp_customize ) { | |
$theme_name = get_current_theme(); | |
$wp_customize->add_section('pops_button_colors', array( | |
'title' => __('Popstrap Button Colors', $theme_name), | |
'priority' => 30 |
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
function sl9_instagram_feed($atts, $content = null) { | |
$atts = shortcode_atts( array( | |
'account' => null, | |
'hashtag' => null, | |
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 | |
//https://codex.wordpress.org/WPMU_Functions/switch_to_blog | |
interface iPartial | |
{ | |
public function get_site_path($blog_id); | |
public function get_main_slug($slug); | |
} |
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
function other_referrers($m) { | |
$s = ['twitter.com', 'instagram.com', 'tumblr.com', 'pinterest.com', 'youtube.com', 'linkedin.com']; | |
foreach ($s as $source) | |
{ | |
if ($m === $source ) { | |
return $source; | |
} | |
} | |
} |
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 //Youtube Video block --- | |
echo do_shortcode('[vc_row][vc_column][vc_column_text][sl9_section section="video_block"][/vc_column_text][/vc_column][/vc_row]'); | |
$current_blog_path = str_replace('/','',$current_blog_location->path); | |
switch_to_blog(1); | |
$query = new WP_Query(array( | |
'post_status' => 'publish', | |
'post_type' => 'max-success-story', |
OlderNewer