Getting get_template_part to work
-
Hi,
I have a few lines in my theme that include small sections of code for my theme welcome screen but the theme checker suggests I use get_template_part().I have no idea how I can get this to work. I’ve tried following the get_template_part() docs but with no luck.
Current code:
require_once( get_template_directory() . '/inc/admin/welcome-screen/sections/intro.php' );
the above code is nested in my theme:
inc/welcome-screen/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Getting get_template_part to work’ is closed to new replies.