get parent theme file path, get child theme file path (ok) get_template_directory_uri
Xem thêm
58
It's almost the same functions:
Parent theme:
get_template_directory()
Parent theme or child theme:
get_stylesheet_directory()
1what about the JS folder ?? – Vaibhav Singhal Mar 30 '17 at 16:13
1I'm not seeing how the naming are justified. – Vicky Leong Jul 23 '17 at 5:18
For Retrieve Theme stylesheet directory URL:
For Retrieve Absolute File Paths:
Last updated