Disappearing Fourth Footer Widget
-
I am using the Twenty-eleven theme, which I started altering with a child theme. In the child theme I added a fourth footer widget to the three footers that are already available about a year ago. Recently, I noticed that the fourth footer is missing. I’ve gone through many threads to see what I am doing wrong, and I can’t seem to figure it out. Can anyone help?
As I stated previously, we had four footer widgets but now it is back to three again. The code to register the fourth is still in the function.php file and the code for the CSS file is also still present. I’ve looked at the footer.php file and there is nothing there except for the generic code. I am not sure if there was customized code in this file. However, I’ve added code to the footer.php file and I am getting an error message. I am not sure what is wrong. Can anyone help?
-
can you share a link to your website?
Yes, http://www.businessplanmyway.com
Thank you,
Robertcan you share the code that is in your child theme’s footer.php file.
Yes, below is the code for the child theme’s footer.php file.
<?php
/**
* Template for displaying the footer
*
* Contains the closing of the id=main div and all content after
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/
?><footer id=”colophon” role=”contentinfo”>
<?php
/*
* A sidebar in the footer? Yep. You can can customize
* your footer with three columns of widgets.
*/
if ( ! is_404() )
get_sidebar( ‘footer’ );
?><div id=”site-generator”>
<?php do_action( ‘twentyeleven_credits’ ); ?>
” title=”<?php esc_attr_e( ‘Semantic Personal Publishing Platform’, ‘twentyeleven’ ); ?>”><?php printf( __(‘Copyright for %s’, ‘twentyeleven’ ), ‘BusinessPlanMyWay’ ); ?>
</div></footer><!– #colophon –>
</div><!– #page –><?php wp_footer(); ?>
<!– SEOGears –> <script type=”text/javascript”> var pkBaseURL = ((“https:” == document.location.protocol) ? “https://analytics.seogears.com/” : “https://analytics.seogears.com/”); document.write(unescape(“%3Cscript src='” + pkBaseURL + “piwik.js’ type=’text/javascript’%3E%3C/script%3E”)); </script><script type=”text/javascript”> try { var piwikTracker = Piwik.getTracker(pkBaseURL + “piwik.php”, 6275); piwikTracker.trackPageView(); piwikTracker.enableLinkTracking(); } catch( err ) {} </script><noscript><p><img src=”https://analytics.seogears.com/piwik.php?idsite=” style=”border:0″ alt=”” /></p></noscript> <!– End SEOGears Tracking Code –>
</body>
</html>
The topic ‘Disappearing Fourth Footer Widget’ is closed to new replies.
