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 custom_loop() { | |
global $amm_core; | |
global $wp_query; | |
$paged = ( get_query_var('page') ) ? get_query_var( 'page' ) : 1; | |
$wp_query = new WP_Query( | |
array( | |
'paged' => $paged, | |
'post_status' => 'publish', | |
'posts_per_page' => 5, |
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 tgm_beauty_review_layout() { | |
global $amm_core; | |
global $wp_query; | |
$paged = ( get_query_var('page') ) ? get_query_var( 'page' ) : 1; | |
$wp_query = new WP_Query( | |
array( | |
'paged' => $paged, | |
'post_status' => 'publish', | |
'posts_per_page' => 5, |
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 | |
global $wp_query; | |
$paged = (get_query_var('page')) ? get_query_var('page') : 1; | |
query_posts( | |
array( | |
'post_status' => 'publish', | |
'paged' => $paged, | |
'posts_per_page' => 5, | |
'post_type' => 'reviews', |
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
#!/bin/bash | |
WP_STABLE='3.4.1' | |
# Make file structure | |
mkdir /var/www/$1 | |
chown -R www-data:www-data /var/www/$1 | |
chmod 755 /var/www | |
# Install WordPress latest stable |
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 | |
class My_Shoutcast_Embed { | |
public function __construct() | |
{ | |
$this->hooks(); | |
} | |
public function hooks() |
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
Three considerations allay this concern. First, and most importantly, it is abundantly clear the Constitution does not guarantee that individuals may avoid taxation through | |
inactivity. A capitation, after all, is a tax that everyone must pay simply for existing, and capitations are expressly contemplated by the Constitution. The Court | |
today holds that our Constitution protects us from federal regulation under the Commerce Clause so long as we abstain from the regulated activity. But from its creation, the Constitution has made no such promise with respect to taxes. See Letter from Benjamin Franklin to M. Le Roy (Nov. 13, 1789) (“Our new Constitution is now established . . . but in this world nothing can be said to be certain, | |
except death and taxes”). |
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
NCC-1701:easy-graphs aaron$ svn -r 562078 log | |
------------------------------------------------------------------------ | |
r562078 | technosailor | 2012-06-21 18:24:32 -0500 (Thu, 21 Jun 2012) | 1 line | |
Otto and Nacin will kill me for rapid fire commits. That's all for now | |
------------------------------------------------------------------------ |
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 | |
public function show_profile() | |
{ | |
$profile = $this->profile_type; | |
$this->_amm_{$profile}_listing(); | |
} | |
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 | |
class AMM_Template_Tags { | |
public function __construct() {} | |
public function display_featured_video() | |
{ | |
$amm_options = get_option( 'amm_options' ); | |
$video_url = $amm_options['featured_video']; // http://www.youtube.com/watch?v=S-PcsfPPUsE | |
if( !$video_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
<?php | |
class Fun_Stuff { | |
function __construct() | |
{ | |
$this->hooks(); | |
} | |
function hooks() | |
{ |