Skip to content

Instantly share code, notes, and snippets.

Erik Teichmann eriktdesign

Block or report user

Report or block eriktdesign

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
eriktdesign / download-wpe-backup
Last active Feb 7, 2020
Download a custom backup from WPEngine
View download-wpe-backup
if [ "$1" != "" ]; then
echo -n "WP Engine Environment Name: "
read env_name
echo "Creating backup from $"
eriktdesign /
Created Jan 18, 2020
Configurations for a Local WordPress site
# Script Options
$shortopts = "";
# $shortopts .= "p:"; // Required value
# $shortopts .= "v::"; // Optional value
$shortopts .= "i"; // Use http
$longopts = array(
eriktdesign / .htaccess
Created Jan 16, 2020
Redirect Image Requests to Production
View .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/wp-content/uploads/[^\/]*/?.*$
RewriteRule ^(.*)$$1 [QSA,L]
eriktdesign / tithely_iframe_embed.html
Created Mar 26, 2019
Embed a tithely widget in an iframe
View tithely_iframe_embed.html
<iframe id="tithely-web-widget-wrapper" style="overflow: hidden; background-color: #ffffff; opacity: 1; max-height: 80vh;" src="<<<YOUR CHURCH ID NUMBER HERE>>>" width="100%" height="770px" frameborder="0"></iframe>
You can’t perform that action at this time.