diff --git a/theme-loader.php b/theme-loader.php index 5af4589..775b1e5 100644 --- a/theme-loader.php +++ b/theme-loader.php @@ -14,8 +14,8 @@ /* * Change these value if need. */ -define( 'TRUONGWP_GALLERY_META_BOX_PATH', get_template_directory() . '/gallery-meta-box/' ); -define( 'TRUONGWP_GALLERY_META_BOX_URL', get_template_directory_uri() . '/gallery-meta-box/' ); +define( 'TRUONGWP_GALLERY_META_BOX_PATH', get_stylesheet_directory() . '/gallery-meta-box/' ); +define( 'TRUONGWP_GALLERY_META_BOX_URL', get_stylesheet_directory_uri() . '/gallery-meta-box/' ); require_once TRUONGWP_GALLERY_META_BOX_PATH . 'class-truongwp-gallery-meta-box.php';