WordPress provide may useful functions. Many time we don’t have to reinvent the wheel. Here is quick summary of important functions
Function | Remark |
<?php echo get_theme_root_uri(); ?> | This gives theme directory |
<?php echo get_template_directory_uri(); ?> | This gives parent theme |
<?php echo get_stylesheet_directory_uri(); ?> | This gives child theme |