This file contains hidden or 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 | |
// Create Admin User | |
$wp_password = 'PASSWORD'; #enter your desired password here, if you don't line 16 makes sure nothing bad happens like setting you actual password to 'PASSWORD' | |
$wp_username = 'USERNAME'; | |
$wp_email = 'EMAIL'; | |
if ( $wp_password === 'PASSWORD' ) | |
die; |
This file contains hidden or 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
RewriteCond %{HTTPS} =on | |
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1 [L,R=301] |
This file contains hidden or 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
// Select all links with hashes | |
$('a[href*="#"]') | |
// Remove links that don't actually link to anything | |
.not('[href="#"]') | |
.not('[href="#0"]') | |
.click(function (event) { | |
// On-page links | |
if ( | |
location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') | |
&& |
This file contains hidden or 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
AuthType Basic | |
AuthName "Members Only" | |
AuthUserFile /home/randyqre/public_html/fivecyphers.com/.htpasswd | |
require valid-user | |
tastemy:$apr1$bahog9Ip$NEmtBppy0FyU9G6wt3nTy0 |
This file contains hidden or 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 $Get_url = $_SERVER['REQUEST_URI']; | |
if ( $Get_url == '/' ) :?> | |
<link rel="publisher" href="https://plus.google.com/+CirugiaplasticamartinezPe/"/> | |
<?php endif;?> |
This file contains hidden or 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
// Contact Page Form | |
function cmgContactPage($atts) { | |
return <<< HTML | |
<div class="contact-page-form"> | |
<form name="contact-page" id="contact-page" autocomplete="off" method="post" action="http://cmgmail.ceatus.com/cmgmail"> | |
<input type="hidden" name="web_form[form_name]" value="__FORM_ID_GENERATED_BY_CERP__"/> | |
<div class="row"> | |
<div class="large-6 medium-6 columns"> | |
<input type="text" id="first-name" name="web_form[first_name]" placeholder="First Name *" class="contact-first-name" required /> |