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
<!-- Chrome, Firefox OS and Opera --> | |
<meta name="theme-color" content="#3070D1"> | |
<!-- Windows Phone --> | |
<meta name="msapplication-navbutton-color" content="#3070D1"> |
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
<html><head><meta http-equiv="Refresh" content="0;url=your affiliate url here"></head><body></body></html> |
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
<?php | |
header("Location: http://www.example.com/"); /* Redirect browser */ | |
/* Make sure that code below does not get executed when we redirect. */ | |
exit; |
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_enqueue_script( 'pm-vat-admin', PM_VAT_DIR.'modules/js/admin.js', array('jquery', 'wp-color-picker'), false, true ); | |
wp_localize_script( 'pm-vat-admin', 'pm_vat_object', | |
array( | |
'nonce' => wp_create_nonce('pm_vat_options'), | |
'is_admin' => is_admin(), | |
'plugin_name' => PM_VAT_PLUGIN_NAME | |
) | |
); |
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
© Copyright 2005 - <script>document.write(new Date().getFullYear())</script> |
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
© Copyright 2005 - <?php echo date('Y'); ?> |
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
{ | |
"name": "example-project", | |
"version": "0.1.0", | |
"devDependencies": { | |
"grunt": "~0.4.1" | |
} | |
} |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
/* Genesis Serenity */ | |
#content .post UL.snzpli-bullet LI, #content .post UL.snzpli-plus LI, #content .post UL.snzpli-check LI, #content .post UL.snzpli-ast LI, #content .post UL.snzpli-star LI, #content .post UL.snzpli-cross LI, #content .post UL.snzpli-arrow LI, #content .post UL.snzpli-alert LI, #content .post UL.snzpli-clock LI, #content .post ul.snzpli-bulb li, #content .post UL.snzpli-cancel LI, #content .post UL.snzpli-lock LI, #content .post UL.snzpli-new LI | |
{ | |
list-style-type: none; | |
padding-left: 24px; | |
} | |
/* Genesis Serenity */ | |
#content img, #content p img { | |
background: none; | |
padding: 0; |
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 slideshare shortcode | |
function tbm_slideshare( $atts ) { | |
$atts = extract( shortcode_atts( | |
array( | |
'id'=>'' | |
),$atts ) ); | |
// Break it up so we can get the first variable = presentation ID | |
$id = explode('&', $id); | |
return '<iframe src="http://www.slideshare.net/slideshow/embed_code/'.$id[0].'?rel=0" width="570" height="469" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>'; | |
} |
NewerOlder