This file contains hidden or 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 | |
function mcwh_action_webhook() { | |
$mcwh_settings = get_option( 'mcwh_settings' ); | |
mcwh_log('==================[ Incoming Request ]=================='); | |
// mcwh_log('Full _REQUEST dump:\n'.print_r($_REQUEST,true)); | |
if ( empty($_POST) ) { |
This file contains hidden or 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
jQuery('document').ready(function($){ | |
$('input[name=subscription-email]').attr('placeholder','Enter your email address...'); | |
}); |
This file contains hidden or 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 | |
/* | |
Plugin Name: My Widget | |
Plugin URI: http://mydomain.com | |
Description: My first widget | |
Author: Me | |
Version: 1.0 | |
Author URI: http://mydomain.com | |
*/ |
This file contains hidden or 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
// Custom Background Images | |
// Use featured image on posts | |
// Use the most recent post's featured image on home page (or default background image) | |
function add_background_image() { | |
global $post; | |
if (is_admin()) return; |
This file contains hidden or 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
// build scenes for background shifting | |
new ScrollScene({triggerElement: 'header', duration: jQuery('header').height() + win_height}) | |
.setClassToggle(bg_el, 'middle') // add class toggle | |
.addTo(controller); | |
new ScrollScene({offset: jQuery('#pg-1574-5').offset().top - parseInt(jQuery('#pg-1574-5').css('margin-top')) - win_height, duration: parseInt(jQuery('#pg-1574-5').css('margin-top')) + jQuery('#pg-1574-5').height()}) | |
.setClassToggle(bg_el, 'topright') // add class toggle | |
.addTo(controller); | |
new ScrollScene({offset: jQuery('#pg-1574-6').offset().top - win_height, duration: jQuery('#pg-1574-6').height() + win_height}) |
This file contains hidden or 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
/* Style for header texts | |
* --------------------------------------- */ | |
h1{ | |
font-size: 5em; | |
font-family: arial,helvetica; | |
margin:0; | |
padding:0; | |
} | |
h2{ | |
font-size: 2em; |
This file contains hidden or 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
[bgvideo width="1280" height="720" | |
mp4="http://www.test.dev/wp-content/uploads/2014/09/rainier.mp4" | |
webm="http://www.test.dev/wp-content/uploads/2014/09/rainier.webm" | |
poster="http://www.test.dev/wp-content/uploads/2014/09/rainier-cover-1024x576.jpg" | |
fixed="no"] |
This file contains hidden or 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
jQuery(document).ready(function($){ | |
// move the buried comments to the bottom of the list | |
if ( encom.buried == 'bottom' ) { | |
var comments = $(encom.comment + '.buried').detach(); | |
$(encom.container).append( comments ); | |
} | |
// remove buried comments | |
if ( encom.buried == 'remove' ) { |
This file contains hidden or 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
jQuery(document).ready(function($){ | |
$(gestures.container).on('dbltap', function(){ | |
jQuery(location).attr('href', gestures.destination ); | |
} | |
).on('swipeleft', function() { |
This file contains hidden or 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
.comments-wrapper { | |
position: fixed; | |
bottom: 0px; | |
right: -50%; | |
width: 51%; | |
background: #fff; | |
padding: 10px; | |
z-index: 10; | |
border-width: 1px 0 1px 1px; | |
border-style: solid; |
NewerOlder