#footer {
background-color: #ffffff;
}
The problem is that your font color is white on a white background. Try changing your color.
Unfortunately, footer is still invisible. I don’t think color is a problem, because font color is not white. But I tried changing to different colors.
Where’s the link to footer.php code or your blog?
The code <?php get_footer(); ?> is in index.php of theme I’m using
(wp-content/themes/mytheme/index.php)
footer.php contains code:
<div id=”footer”>
Some copyright information…
<?php wp_footer(); ?>
</div>
</body>
</html>
CSS file on pastebin:
http://wordpress.pastebin.ca/879257
1. You can never link directly to any of the template files…
2. What happens if you move the <?php wp_footer(); ?>
outside of the div, just above the body tag?
Footer doesn’t appear. Error moves to next line with <?php wp_footer(); ?>.
I don’t see any error.
There must be some code in your sidebar.php that cuts everything and nothing displays after it.
sidebar.php:
http://wordpress.pastebin.ca/879767
Maybe someting in the end of sidebar.php?
<?php endif; ?>
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
<?php } ?>
</div>
Lines 56, 57 are totally useless there.
Furthermore, this: <?php wp_head(); ?>
should be in the <head>
section of your file (before the closing </head>
in the header.php.
Who put it here?
But there is no <head> section in sidebar.php. If I remove <?php wp_head(); ?> from sidebar.php user online counter always shows 0.
Ok, I’ve removed lines 56, 57 but footer is still invisible.
Someting with css because I see the footer when I remove css.
Read again what I wrote where to put it. NOT in the sidebar.php!
There is <?php wp_head(); ?> before </head> in header.php too. Without <?php wp_head(); ?> in sidebar.php online counter doesn’t work.
<?php wp_head(); ?> in sidebar.php doesn’t effect the footer, when I remove it footer doesn’t appear.
You know what? That theme is completely screwed up now…. doesn’t even have a body tag…
Deactivate all your plugins.
Download a fresh copy of the theme and see if it works.
And if you want to edit the theme do it one step at a time, always checking the results.