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_filter( 'pl_activate_url', array( &$this, 'activation_url') ); |
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
function activation_url($url){ | |
return home_url() . '?tablink=Sophistique&tabsublink=welcome'; | |
} |
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
<?php | |
/** | |
* Plugin Name: Disable all plugins | |
* Plugin URI: https://gist.github.com/JCPry/8026015 | |
* Description: Short-circuits the function in WordPress that determines which plugins are activated, and tells WordPress that no plugins are activated | |
* Version: 1.0 | |
* Author: Jeremy Pry | |
* Author URI: http://jeremypry.com/ | |
*/ |
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
if( heroBounces.intersects(play.enemy.getBounds(play)) || heroBounces.intersects(play.enemy1.getBounds(play))) | |
{ | |
play.over(); | |
} |
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
public function update():void | |
{ | |
if( _isJumping ) | |
{ | |
this.y -= ( jumpPower - gravity); | |
jumpPower -= 2; | |
if(this.y + gravity > groundBase) | |
{ | |
this.y = groundBase; |
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 | |
function ec_mail_name( $email ){ | |
return 'Joe Doe'; // new email name from sender. | |
} | |
add_filter( 'wp_mail_from_name', 'ec_mail_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
<?php | |
function ec_mail_from ($email ){ | |
return 'joe@doe.com'; // new email address from sender. | |
} | |
add_filter( 'wp_mail_from', 'ec_mail_from' ); |
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
.section-menu-voyant .voyant-mobile-nav .voyant-menu-holder{ | |
width: 100%; | |
margin-left: 0; | |
} | |
.section-menu-voyant .voyant-mobile-nav .voyant-menu-holder:before{ | |
/*Replace with your logo URL*/ | |
background: url('http://3z6cyh36dph41r69gi2tjn07r24.wpengine.netdna-cdn.com/wp-content/uploads/2014/04/voyant4.png') no-repeat; | |
background-size: contain; | |
background-position-y: 5px; |