Last active
September 16, 2016 12:41
-
-
Save richtabor/6a52a4e79de523be1ca374ec19107bdd to your computer and use it in GitHub Desktop.
More info: http://richtabor.com/themeforest-tips/
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 | |
// Functions | |
function prefix_setup() | |
// Classes | |
class Prefix_Class {} | |
// Global Variables | |
global $prefix_passengers; | |
// Action Hooks | |
do_action( ‘prefix_start_engine’ ); | |
// Filter Hooks | |
$register = apply_filters( prefix_register ); | |
// Non Third-Pary Script Handles | |
wp_enqueue_script( 'prefix-functions', get_theme_directory_uri() . 'js/custom/functions.js' ); | |
// Non Third-Pary Style Handles | |
wp_enqueue_style( 'prefix-minified-style', get_theme_directory_uri() . 'style.min.css' ); | |
// Images | |
add_image_size( 'prefix-large', 800, 600 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment