Adam Clark avclark
-
Podcast Royale
- Chattanooga, TN
- Sign in to view email
- http://www.avclark.com
View presale app
// Here are some of the changes I made to these two functions, but this broke the whole, I was getting an error saying something like unidentified param: amount, so something like that. | |
function populateCurrentPrice(price) { | |
$('.currentPrice span').text(price/100); | |
$('#customButton span').text(price/100); | |
$('#currentPurchases').text( (price/100) -1); | |
$('#customButton').off('click'); | |
$('#customButton').on('click', function(e) { | |
handler.open({ | |
amount: price |
View gist:9a72d4051d8d46fce076bfb96aa3be3f
<?php | |
class Init_Menu_Item { | |
public function __construct() { | |
$this->initialize(); | |
} | |
public function initialize() { | |
add_action( 'admin_menu', array( $this, 'init_menu_item') ); |
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
View .gitignore
# This is a template .gitignore file for git-managed WordPress projects. | |
# | |
# Fact: you don't want WordPress core files, or your server-specific | |
# configuration files etc., in your project's repository. You just don't. | |
# | |
# Solution: stick this file up your repository root (which it assumes is | |
# also the WordPress root directory) and add exceptions for any plugins, | |
# themes, and other directories that should be under version control. | |
# | |
# See the comments below for more info on how to add exceptions for your |
View .gitignore
# ----------------------------------------------------------------- | |
# .gitignore for WordPress | |
# Bare Minimum Git | |
# http://ironco.de/bare-minimum-git/ | |
# ver 20150227 | |
# | |
# This file is tailored for a WordPress project | |
# using the default directory structure | |
# | |
# This file specifies intentionally untracked files to ignore |
OlderNewer