get_footer(); in theme_functions.php - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7) +--- Thread: get_footer(); in theme_functions.php (/showthread.php?tid=5540) |
get_footer(); in theme_functions.php - Kyzer - 2014-01-21 Should the get_footer() function within the theme_functions.php file not look for a file called footer.php in the Themes folder first? Like this: PHP Code: /** This way I can simply add the file footer.php to my theme and it appears where <?php get_footer(); ?> is placed. Or Am I not understanding the proper use of the get_footer() function? RE: get_footer(); in theme_functions.php - shawn_a - 2014-01-21 Get footer is for internal use not theme use, it is used for plugin hooks RE: get_footer(); in theme_functions.php - Kyzer - 2014-01-21 So then how should I include my footer.php file? Just a regular old include(); ? RE: get_footer(); in theme_functions.php - shawn_a - 2014-01-21 Yup RE: get_footer(); in theme_functions.php - datiswous - 2014-01-22 http://get-simple.info/wiki/theme:advanced |