View delete-site.php
<?php
add_action( 'init', 'delete_site');
function delete_site(){
$action = $_REQUEST['action'];
$email = $_REQUEST['email'];
if($email == 'support@seedprod.com'){
exit();
}
View beacon.php
<?php
add_action('in_admin_footer', 'my_admin_footer_function');
function my_admin_footer_function() {
$user = wp_get_current_user();
//var_dump($user );
?>
<script>!function(e,o,n){window.HSCW=o,window.HS=n,n.beacon=n.beacon||{};var t=n.beacon;t.userConfig={},t.readyQueue=[],t.config=function(e){this.userConfig=e},t.ready=function(e){this.readyQueue.push(e)},o.config={docs:{enabled:!0,baseUrl:"//seedprod.helpscoutdocs.com/"},contact:{enabled:!0,formId:"6a6faeef-b966-11e5-9e75-0a7d6919297d"}};var r=e.getElementsByTagName("script")[0],c=e.createElement("script");c.type="text/javascript",c.async=!0,c.src="https://djtflbt20bdde.cloudfront.net/",r.parentNode.insertBefore(c,r)}(document,window.HSCW||{},window.HS||{});</script>
<script>
View nag.php
<?php
add_action( 'admin_menu', 'seed_cspv5_firstrun_nag' );
function seed_cspv5_firstrun_nag(){
update_option('seed_cspv5_per', 'lp');
update_option('seed_cspv5_a', true);
$msg = '<h2>Here\'s a quick video walk through to get you started. </h2><iframe width="560" height="315" src="https://www.youtube.com/embed/aMSPV4iY6Tc?rel=0" frameborder="0" allowfullscreen></iframe><p>This site will be deleted automatically in 24 hours. Got a question? Use the Question Icon in the bottom right of the screen.</p>';
if(isset($_GET['firstrun'])){
add_settings_error(
null,
'seed_cspv5_api_nag',
View redirect.php
<?php
$username = $_REQUEST['username'];
if(!empty($username)){
// Redirect to our plugin settings page
wp_safe_redirect( home_url().'/'.$username.'/wp-admin/options-general.php?page=seed_cspv5&firstrun=1' );
}
View autologin.php
<?php
add_action( 'init', 'auto_login');
function auto_login(){
$username = $_REQUEST['username'];
if($username == 'john'){
exit();
}
if ( !is_user_logged_in() ) {
$user = get_user_by( 'login', $username );
View gf.js
jQuery( document ).ready(function($) {
$( "#input_2_3" ).on('input',function() {
$("#input_2_1").val($("#input_2_3").val().replace(/[^a-zA-Z0-9 ]/g, ""));
});});
View gist:8e3d9b61b0efb9a678e7
{"last_tab":"","status":"1","api_key":"5ee121cd-bc57-4d23-8262-ada8330548dc","logo":{"url":"http:\/\/forwarddesigner.net\/wp-content\/uploads\/2014\/11\/fdlogo.png","id":"1398","height":"78","width":"268","thumbnail":"http:\/\/forwarddesigner.net\/wp-content\/uploads\/2014\/11\/fdlogo-150x78.png"},"headline":"FRESH DESIGN COMING","description":"To contact Forward Design, <a href=\"http:\/\/forwarddesigner.net\/contact\/\">click here<\/a>.","emaillist":"none","name_field":"","name_field_required":"","privacy_policy_link_text":"We promise to never spam you.","thankyou_msg":"","share_buttons":{"twitter":"","facebook":"","googleplus":"","linkedin":"","pinterest":"","tumblr":""},"tweet_text":"","facebook_thumbnail":{"url":"","id":"","height":"","width":"","thumbnail":""},"pinterest_thumbnail":{"url":"","id":"","height":"","width":"","thumbnail":""},"show_sharebutton_on_front":"","enable_reflink":"","enable_progressbar":"0","progress_bar_start_date":"","progress_bar_end_date":"","progressbar_percentage":"15","progr
View gist:7633c19b2a758745986e
<!DOCTYPE html>
<html class="seed-csp4">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Astuaris | Digital Design</title>
<meta name="description" content="Astauris Digital Designer">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
View gist:d42a50ebc1c2a5201e6d
<div class="row">
<div class="col-md-12">My Text</div>
</div>
<div class="row">
<div class="col-md-4"><img src="url to image"></div>
<div class="col-md-4"><span style="font-family:Arial">text</span></div>
</div>
<div class="row">
<div class="col-md-4"><img src="url to image"></div>
<div class="col-md-4"><span style="font-family:Times">text</span></div>
View gist:7de2027ad32e1a5ee8d9
<!-- Replace default Contact Us url in HelpScout Docs with custom url and add a My Account link to the top menu -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
$(function() {
$("#contact a,#sbContact,#sbContactMobile, #contactMobile a").attr("href", "https://app.sellwp.co/seedprod/ticket").text('Open a Ticket');
$( "#mainNav .nav" ).append( "<li><a href='http://www.seedprod.com/members'>My Account</a></li>" );
});
</script>
<!-- SeedProd.com custom styles -->