I was trying to remove a small rss feed from my footer.php but ended up screwing the code badly and now the whole page is messed up 🙁
So I made it worse by putting in the default footer.php code from WordPress:
<?php /** * @package WordPress * @subpackage Revolution Tech */ ?> <!-- begin footer --> </div> <?php get_sidebar(); ?> <p class="credit"><!--<?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by <a href='http://wordpress.org/' title='%s'><strong>WordPress</strong></a>"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></cite></p> </div> <?php wp_footer(); ?> </body> </html>
I was wondering if anyone could please help?
Ok quick update. I added in the following code:
<div id="footer-sidebar" class="secondary"> <div id="footer-sidebar1"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?> <?php endif; ?> </div> <div id="footer-sidebar2"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(3) ) : ?> <?php endif; ?> </div> <div id="footer-sidebar3"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(4) ) : ?> <?php endif; ?> </div> </div> <div style="clear-both"></div>
Which seems to have fixed it, but added an Archive and Comments section to the main page. What would I have to do to remove it?
UPDATE: I see, it’s a widget issue. I removed them and added tags, but would ideally like the page to look like that without the widgets. Anyway around this?
Check on the mark-up errors –
You may want to replace the footer.php file from the original theme if you’ve made too many problems for yourself in that file…
Also, these forums only support themes from the repository on this site, so you may want to ask the developer for additional help.
- The topic ‘Footer.php Help!’ is closed to new replies.