Footer has disappeared
-
Hi,
Can someone help me get my footer back?http://www.objectifseychelles.com
I have this message on my dashboard
Your theme needs to be fixed for plugins to work (Especially Floating Social Media Icon). To fix your theme, use the Theme Editor to insert <?php wp_footer(); ?> just before the </body> line of your theme’s footer.php file. – [If everything is working properly, you can disable this warning at misc page]
Thanks!
-
Have you checked the footer.php file to see if it has the call to wp_footer?
Hi Matt,
I’m not sure I understand what you mean, how can I know if it has a call or not ??What do I need to see ?
Does your footer.php file have this line of code in it?
<?php wp_footer(); ?>Hi Matt,
I have just copied my footer.php file below, and I have not seen that code in there</div> <!–main end here–>
</div> <!–wrapper end here–>
<!– ?php DISPLAY_ACURAX_ICONS(); ? test positionnement floats–!>
<div id=”footer_wrap”>
<div id=”footer”>
<div id=”footer_nav”>
<?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘secondary’ ) ); ?></div>
</div>-
<?php/* ?>
<?php wp_list_pages(‘title_li=&depth=1&sort_column=menu_order’) ?>
<?php */?></div> <!–footer nav end here–>
<div id=”copyright”> Copyright © <?php echo date(“Y”); ?> ObjectifSeychelles.com. All Rights Reserved. </div>
</div> <!–footer end here–>
</div>
</div>Hi,
Try adding following code at the end (after ending div) of the footer.php page.
<?php wp_footer(); ?> </body> </html>Let me know if it does not fix your issue.
Thanks,
Hi Accuwebhosting,
Thanks, tried but doesn’t work.Hi,
While checking the source code of your website page,I could not find following Divs.
<div id=”footer_wrap”>
<div id=”footer”>
<div id=”footer_nav”>Can you check if your theme’s index.php file has following line of code at the bottom?
get_footer();
Thanks,
Hi,
The following is what I have in my index.php file<?php get_header(); ?>
<div id=”content”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<h2 class=”posttitle”>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
<div class=”postmetadata”><?php the_time(get_option(‘date_format’).’, ‘.get_option(‘time_format’)) ?> <!– <?php _e(‘by’) ?> <?php the_author() ?> –></div>
<div class=”postentry”>
<?php the_content(__(‘Continue reading’). ” ‘” . the_title(”, ”, false) . “’ »”); ?></div>
</div><div class=”postmetadata”>
<?php if( function_exists(‘the_tags’) )
the_tags(__(‘Tags: ‘), ‘, ‘, ‘
‘);
?>
<?php _e(‘Category:’) ?> <?php the_category(‘, ‘) ?> |
<?php comments_popup_link(__(‘Comment’), __(‘1 Comment’), __(‘% Comments’)); ?>
<?php edit_post_link(__(‘Edit’), ‘ | ‘, ”); ?>
</div>
</div><?php endwhile; ?>
<div class=”navigation”>
<div class=”alignleft”><?php next_posts_link(__(‘« Previous Entries’)) ?></div>
<div class=”alignright”><?php previous_posts_link(__(‘Next Entries »’)) ?></div>
</div><?php else : ?>
<div class=”post”>
<h2 class=”posttitle”><?php _e(‘Not Found’) ?></h2>
<div class=”postentry”><p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p></div>
</div><?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
The topic ‘Footer has disappeared’ is closed to new replies.