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 get_header(); ?> | |
<div id="main-content" class="row store-template"> | |
<div class="content clearfix"> | |
<?php | |
$current_page = get_query_var('paged'); | |
$per_page = get_option('posts_per_page'); | |
$offset = $current_page > 0 ? $per_page * ($current_page-1) : 0; | |
$product_args = array( | |
'post_type' => 'download', |
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 | |
// CUSTOM QUERY | |
// Build the arguments for a query | |
$args = array( | |
'author' => 'kyle', | |
'posts_per_page' => 2, | |
'nopaging' => true, | |
); | |
// Create a query object | |
$dis_query = new WP_Query( 'posts_per_page' ); |
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
add_action( 'edd_format_amount_decimals', 'kjm_format_decimals' ); | |
function kjm_format_decimals() { | |
return 0; | |
} | |
add_filter( 'edd_purchase_link_args', 'kjm_adjust_purchase_link_text' ); | |
function kjm_adjust_purchase_link_text( $args ) { | |
$download = new EDD_Download( $args['download_id'] ); |
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: RBM Schedule | |
Plugin URI: http://realbigplugins.com | |
Description: Creates a way for our schedule to be quickly and easily referenced. | |
Version: 0.1 | |
Author: Kyle Maurer | |
Author URI: http://realbigmarketing.com | |
License: GPL2 |
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 | |
// CUSTOM BOOK QUERY | |
$post_id = get_the_ID(); | |
$args = array( | |
//Type & Status Parameters | |
'post_type' => 'accomplishment', | |
'post_status' => 'publish', | |