|
@@ -23,14 +23,15 @@ add_action( 'after_setup_theme', 'dw_setup' );
|
|
|
|
|
|
if ( ! function_exists( 'dw_plugs' ) ):
|
|
if ( ! function_exists( 'dw_plugs' ) ):
|
|
function dw_plugs() {
|
|
function dw_plugs() {
|
|
- if (!class_exists('dw_smtp')) {
|
|
|
|
- //include_once(TEMPLATEPATH.'/inc/smtp.php');
|
|
|
|
- }
|
|
|
|
|
|
+ require( get_template_directory() . '/inc/smtp.php');
|
|
|
|
+ //echo wp_mail( 'david@davidawindham.com', 'WP Mail Test', 'Mail is working' );
|
|
if (!class_exists('dw_crumbs')) {
|
|
if (!class_exists('dw_crumbs')) {
|
|
//include_once(TEMPLATEPATH.'/inc/crumbs.php');
|
|
//include_once(TEMPLATEPATH.'/inc/crumbs.php');
|
|
}
|
|
}
|
|
}
|
|
}
|
|
endif;
|
|
endif;
|
|
|
|
+add_action( 'after_setup_theme', 'dw_plugs' );
|
|
|
|
+
|
|
|
|
|
|
function dw_editor() {
|
|
function dw_editor() {
|
|
wp_enqueue_style( 'dw-gutenberg', get_theme_file_uri( '/css/editor.css' ), false, '1.0', 'all' );
|
|
wp_enqueue_style( 'dw-gutenberg', get_theme_file_uri( '/css/editor.css' ), false, '1.0', 'all' );
|