I hereby claim:
- I am MichaelMusgrove on github.
- I am mbm (https://keybase.io/mbm) on keybase.
- I have a public key whose fingerprint is 4A37 8D7D 9C8D D622 F7B7 EA4D 5C4B 519F 759B C8E2
To claim this, I am signing this object:
$primary: #608d4e; | |
$secondary: #87594d; | |
$highlight: #abc147; | |
$accent: #26ada1; | |
$background: #ced9bc; |
add_filter('widget_text', 'do_shortcode'); | |
add_action('wp_head', 'wpsites_fill_width_video' ); | |
function wpsites_fill_width_video() { | |
if( is_front_page() ) { | |
echo do_shortcode('[video src="http://www.example.dev/wp-content/uploads/2014/08/demo.mp4" width="1400" height="400" progress="false" autoplay="true"]'); | |
} | |
} |
/* Your Call To Action Widget | |
--------------------------------------------- */ | |
.call-to-action a.button { | |
background-color: #64C9EA; | |
display: inline-block; | |
margin-top: -30px; | |
margin-top: -3rem; | |
text-align: center; | |
color: #fff; | |
} |
// functions.php | |
// ========================================================================= | |
// REMOVE JUNK FROM HEAD | |
// ========================================================================= | |
remove_action('wp_head', 'rsd_link'); // remove really simple discovery link | |
remove_action('wp_head', 'wp_generator'); // remove wordpress version | |
remove_action('wp_head', 'feed_links', 2); // remove rss feed links (make sure you add them in yourself if youre using feedblitz or an rss service) | |
remove_action('wp_head', 'feed_links_extra', 3); // removes all extra rss feed links |
h2 { | |
text-align: center; | |
display: table; | |
width: 100%; | |
} | |
h2 > span, h2:before, h2:after { | |
display: table-cell; | |
} | |
h2:before, h2:after { | |
background: url(http://dummyimage.com/2x1/f0f/fff&text=+) repeat-x center; |
I hereby claim:
To claim this, I am signing this object:
function wps_trend($atts){ | |
extract( shortcode_atts( array( | |
'w' => '500', // width | |
'h' => '330', // height | |
'q' => '', // query | |
'geo' => 'US', // geolocation | |
), $atts ) ); | |
//format input | |
$h=(int)$h; | |
$w=(int)$w; |
<?php | |
/** | |
* The template for displaying 404 pages (Not Found) | |
* | |
*/ | |
get_header(); ?> | |
<div id="primary" class="content-area"> | |
<div id="content" class="site-content" role="main"> |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
.adjust { | |
font-size-adjust: auto; | |
} |