Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

wp_footer not called in front-page.php


 
Prev Previous Post   Next Post Next
  #1  
Old Jun 12, 2013, 08:18 AM
marklevine
 
41 posts · Jun 2010
wp_footer not called in front-page.php

I am using a custom front page, having added front-page.php in my child theme directory. The code is based on index.php from the Montezuma directory. I added some styles and a loop to create a special navigator at the top of the center column. Below the navigator there is a standard loop where I display the_content for the first three posts and the_excerpt for all the rest. (Note: I removed any template processing for this file by copying the code for postformat.php and inserting it directly into front-page.php.)

At the bottom of front-page.php, I call get_footer() which is correctly inserting footer.php into the bottom of the file. BUT! This is not calling wp_footer().

Symptoms include: the wordpress admin bar doesn't appear at the top of the front page for administrators. Also, scripts enqueued for the footer are not inserted into the php for the front page. This is breaking slideshows. This is all working properly for archive, single, and page pages which are served with the standard Montezuma index.php.

My expectation is that the call to get_footer() ought to result in a call to wp_footer() but this is not happening. I'm digging and digging and digging. I'm afraid I'll reach China before I figure out what my php is missing! Thanks for any suggestions.
 

Bookmarks

Tags
get_footer, wp_footer

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where is the Function Called the_content() ? GRF Atahualpa 3 Wordpress theme 1 May 21, 2012 07:53 AM
wp_footer action mmqc2 Plugins & Atahualpa 9 May 12, 2012 08:04 AM
[SOLVED] Call to wp_footer() not made right before </body> - why? cymric Post-Kicker, -Byline & -Footer 2 Aug 23, 2010 07:29 AM
[SOLVED] Adding wp_footer before body tag Chester Post-Kicker, -Byline & -Footer 6 Jun 7, 2009 10:24 AM


All times are GMT -6. The time now is 06:50 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.