Skip to content

Commit

Permalink
Issue #15 - eliminate CHILD_THEME_* constants. Use Genesis 3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Sep 29, 2019
1 parent d2a6ed8 commit 43ed01d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
18 changes: 0 additions & 18 deletions functions.php
Original file line number Diff line number Diff line change
@@ -1,25 +1,7 @@
<?php // (C) Copyright Bobbing Wide 2015-2019

//* Child theme (do not remove)
define( 'CHILD_THEME_NAME', 'Genesis a2z' );
define( 'CHILD_THEME_URL', 'https://www.bobbingwide.com/blog/oik-themes/genesis-a2z' );

if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) {
$timestamp = filemtime( get_stylesheet_directory() . "/style.css" );
define( 'CHILD_THEME_VERSION', $timestamp );
} else {
//define( 'CHILD_THEME_VERSION', '1.3.0' );
define( 'CHILD_THEME_VERSION', wp_get_theme()->get( 'Version' ) );

}

// Defines constants to help enqueue scripts and styles.
define( 'CHILD_THEME_HANDLE', sanitize_title_with_dashes( wp_get_theme()->get( 'Name' ) ) );

genesis_a2z_functions_loaded();



/**
* Display footer credits for the oik theme
*
Expand Down
4 changes: 2 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Theme URI: https://www.oik-plugins.com/oik-themes/genesis-a2z
Description: Child theme of Genesis Theme Framework with oik and image.php for WP-a2z
Author: Bobbing Wide
Author URI: https://www.oik-plugins.com/author/bobbingwide
Version: 1.4.0
Version: 2.0.0
Template: genesis
Template Version: 3.0.3
Template Version: 3.1.2
Tags: oik, plugins, themes, shortcodes
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down

0 comments on commit 43ed01d

Please sign in to comment.