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
// Created by Chris Reber - [email protected] | |
// enable double clicking from the Macintosh Finder or the Windows Explorer | |
#target photoshop | |
// Settings | |
var maxHeight = 600; | |
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
nslookup -type=any {{domain name}} | |
nslookup -type=any www.{{domain name}} | |
nslookup -type=any {{domain name}} {{nameserver}} |
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
wp search-replace "olddomain.com" "newdomain.com" --all-tables --precise | |
wp cache flush | |
wp media regenerate --yes |
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
The most reliable way to send email from WP engine so far has been using no-reply@(wpenginedomain) for instance we just did [email protected]. I say we maintain that methodology until we see issues or get a customer that MUST have it come from their domain only. |
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
<script> | |
$( document ).ready(function() { | |
var distance = 0; | |
if ($(".toggle-menu").css('display') == 'none') { | |
// Hide Header on on scroll down | |
var didScroll; | |
var lastScrollTop = 0; | |
var delta = 5; | |
var navbarHeight = $('#site-header').outerHeight(); |
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
// Enqueue the main Stylesheet. | |
$style_ver = filemtime( get_stylesheet_directory() . '/assets/stylesheets/foundation.css' ); | |
wp_enqueue_style( 'main-stylesheet', get_template_directory_uri() . '/assets/stylesheets/foundation.css', array(), $style_ver, 'all' ); |
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
// Add to footer.php before </body> closing tag | |
<?php if(is_user_logged_in()): | |
?> | |
<!-- | |
DeBugger - breakpoint indicator | |
Inspired by Darin @ Meta13 | |
--> | |
<div class="breakpoint-indicator"></div> | |
<?php endif; ?> |
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
add_filter( 'jpg_quality', 'high_jpg_quality' ); | |
function high_jpg_quality() { | |
return 100; | |
} |
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($) { | |
var resizeTimer; // Set resizeTimer to empty so it resets on page load | |
function resizeFunction() { | |
// Add functions here | |
} | |
// On resize, run the function and reset the timeout | |
// 250 is the delay in milliseconds. Change as you see fit. |
NewerOlder