Haha just bored. The dimensions are almost exact, I rounded them to one decimal and converted to em units so you can scale it to any size. Horizontal version also included.
A Pen by Stan Williams on CodePen.
<!DOCTYPE html> | |
<html lang="en-EN"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Test custom background & header</title> | |
</head> | |
<body class="wordpress" itemscope="itemscope" itemtype="http://schema.org/WebPage"> |
# Rewrites for WordPress SEO XML Sitemap | |
rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last; | |
rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 last; |
Haha just bored. The dimensions are almost exact, I rounded them to one decimal and converted to em units so you can scale it to any size. Horizontal version also included.
A Pen by Stan Williams on CodePen.
Title says everything
A Pen by Alan R. Soares on CodePen.
// example using the raf module from npm. try changing some values! | |
var requestAnimationFrame = require("raf") | |
var canvas = document.createElement("canvas") | |
canvas.width = 500 | |
canvas.height = 500 | |
document.body.appendChild(canvas) | |
var context = canvas.getContext("2d") |
<?php | |
if ( isset( $_SERVER['REQUEST_URI'] ) && in_array( substr( $_SERVER['REQUEST_URI'], -4 ), array( '.xml', '.xsl' ) ) ) { | |
remove_all_actions( 'widgets_init' ); | |
} |
<?php | |
add_action('wp_head','tribe_dont_index_single_events'); | |
function tribe_dont_index_single_events() { | |
if ( is_singular() && get_post_type() == TribeEvents::POSTTYPE ) | |
echo '<meta name="robots" content="noindex">'; | |
} |
// Generated by the Send System Info Plugin // | |
Multisite: No | |
SITE_URL: http://www.mediadigest.be | |
HOME_URL: http://www.mediadigest.be | |
WordPress Version: 3.9.1 | |
Permalink Structure: /%postname%/ | |
Active Theme: OMD Media Digest 2013.4 |
Forked from Trang Si Hung's Pen Sign Up & Login Form.
A Pen by Blueprint Marketing on CodePen.
# | |
# A CORS (Cross-Origin Resouce Sharing) config for nginx | |
# | |
# == Purpose | |
# | |
# This nginx configuration enables CORS requests in the following way: | |
# - enables CORS just for origins on a whitelist specified by a regular expression | |
# - CORS preflight request (OPTIONS) are responded immediately | |
# - Access-Control-Allow-Credentials=true for GET and POST requests |