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 | |
// Register newsletter widget area | |
genesis_register_sidebar( array( | |
'id' => 'newsletter', | |
'name' => __( 'Newsletter', 'custom-theme' ), | |
'description' => __( 'This is the newsletter section.', 'custom-theme' ), | |
) ); | |
// Add the newsletter widget after the post content |
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: Pop Up Once | |
Plugin URI: https://gist.github.com/4394411 | |
Description: Quick plugin to create a modal popup form | |
Author: Aaron Brazell | |
Author URI: http://technosailor.com | |
Version: 1.0 | |
*/ |