From c72351e14ce86d0eb44baa00267e2c108ee73220 Mon Sep 17 00:00:00 2001 From: kurudrive Date: Wed, 10 Oct 2018 01:23:40 +0900 Subject: [PATCH] =?UTF-8?q?[=20=E4=BB=95=E6=A7=98=E5=A4=89=E6=9B=B4=20]=20?= =?UTF-8?q?=E3=82=A6=E3=82=A3=E3=82=B8=E3=82=A7=E3=83=83=E3=83=88=E3=82=92?= =?UTF-8?q?=E5=AD=90=E3=83=86=E3=83=BC=E3=83=9E=E3=81=A7=E4=B8=8A=E6=9B=B8?= =?UTF-8?q?=E3=81=8D=E5=87=BA=E6=9D=A5=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 4501056e7..2829a6981 100644 --- a/functions.php +++ b/functions.php @@ -15,6 +15,8 @@ /*-------------------------------------------*/ /* Load Custom template tags for this theme. /*-------------------------------------------*/ +/* Load widgets +/*-------------------------------------------*/ /* Load designskin manager /*-------------------------------------------*/ /* Load tga(Plugin install) @@ -141,14 +143,18 @@ function lightning_css() { require get_parent_theme_file_path( '/inc/customize/customize.php' ); require get_parent_theme_file_path( '/inc/customize/customize-design.php' ); require get_parent_theme_file_path( '/inc/customize/customize-top-slide.php' ); -require get_parent_theme_file_path( 'inc/widgets/widget-full-wide-title.php' ); -require get_parent_theme_file_path( 'inc/widgets/widget-new-posts.php' ); /*-------------------------------------------*/ /* Load Custom template tags for this theme. /*-------------------------------------------*/ require get_parent_theme_file_path( '/inc/template-tags.php' ); +/*-------------------------------------------*/ +/* Load widgets +/*-------------------------------------------*/ +get_template_part( 'inc/widgets/widget-full-wide-title' ); +get_template_part( 'inc/widgets/widget-new-posts' ); + /*-------------------------------------------*/ /* Load designskin manager /*-------------------------------------------*/