function pb_version_id() { if (WP_DEBUG) { return time(); } return VERSION; } //* Test File // Remove before deployment require_once dirname(__FILE__) . "/lib/test.php"; //********************************************** //* Define the Child theme //********************************************** define('CHILD_THEME_NAME', '[Blank Genesis Child Theme]'); define('CHILD_THEME_URL', 'http://www.example.com/'); define('CHILD_THEME_VERSION', pb_version_id()); /** * Theme Setup * @since 1.0.0 * * This setup function attaches all of the site-wide functions * to the correct hooks and filters. All the functions themselves * are defined below this setup function. * */ add_action('genesis_setup', 'pb_child_theme_setup', 15); function pb_child_theme_setup() { //********************************************** //* Setup child theme functions //**********************************************
function pb_enqueue_fitvid_scripts() { wp_enqueue_script('fitvids.combined.min', get_stylesheet_directory_uri() . '/js/fitvids.combined.min.js', array('jquery'), pb_version_id(), true); }