Houssine Posted November 6, 2025 Report Share Posted November 6, 2025 The footer on my WordPress site isn't showing up on the TNG theme, even though the header is working correctly. This is the code I'm using in the WPTNG-footer.php file. tng version 15 and i'm use code mr kloosterman <?php // Call the WordPress/Theme footer in the TNG pages. get_footer('TNG'); // WordPress/Theme footer; uncomment get_sidebar() only if you want to have the sidebar displayed in TNG pages. //get_sidebar(); // Newer versions of TNG include some important JavaScript code in the footer, so you need to include these TNG functions or certain things won't work. global $text, $tng_version, $flags; $flags['basicfooter'] = true; echo tng_footer($flags); ?> Quote Link to comment Share on other sites More sharing options...
Houssine Posted November 8, 2025 Author Report Share Posted November 8, 2025 Has anyone encountered this problem? Quote Link to comment Share on other sites More sharing options...
Rob Severijns Posted November 8, 2025 Report Share Posted November 8, 2025 Maybe you can contact @klooster and ask him. I don't use WP myself Quote Link to comment Share on other sites More sharing options...
stackos Posted December 2, 2025 Report Share Posted December 2, 2025 On 11/8/2025 at 9:39 AM, Houssine said: Has anyone encountered this problem? What WP theme are you using? I have this in my WPTNG-footer.php file, and it works. <?php // Call the WordPress/Theme footer in the TNG pages get_footer('TNG'); // WordPress/Theme footer; uncomment get_sidebar() only if you want to have the sidebar displayed in TNG pages // get_sidebar(); // Newer versions of TNG include some important JavaScript code in the footer, so you need to include these TNG functions or certain things won’t work. // global $text, $tng_version, $flags; // $flags[‘basicfooter’] = false; // echo tng_footer($flags); ?> Try commenting out the bottom three lines to see if it works. I had to keep them commented out to avoid the website from not going full-width. Quote Link to comment Share on other sites More sharing options...
Jim Williamson Posted December 18, 2025 Report Share Posted December 18, 2025 I'm a little late seeing this, and really can't be much help. The footer displays correctly on my site as it exists now, and I've had no issues though the previous iterations. It currently reads this way, and has for at least almost 8 years now, through various themes: _____________________________________ <?php // Call the WordPress/Theme footer in the TNG pages get_footer('TNG'); // get_sidebar (); /*remarked out by Jim 2/8/17 */ global $text,$flags; $flags['basicfooter'] = true; echo tng_footer($flags); ?> _________________________________________________ Try swapping themes (make a good backup first) and see if it comes up Jim Williamson www.mygenealogy.info Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.