Title: get_footer() issue
Last modified: August 21, 2016

---

# get_footer() issue

 *  Resolved [p5laris](https://wordpress.org/support/users/p5laris/)
 * (@p5laris)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/get_footer-issue/)
 * Hello! I had an issue last week that you helped me out on with regards to [accordions not working when pages first load](http://wordpress.org/support/topic/when-post-first-loads-accordions-do-not-work?replies=5).(
   Thank you for that…) The solution you provided works perfectly to get the accordions
   working, but for some reason, now the actual footer does not appear now. Is there
   a way to get both of them to work? I tried including both in the <php> code where
   get_footer(); appears:
 * <?php include(‘footer.php’); ?>
    <?php get_footer();?>
 * I’ve also tried switching the order.
 * As well as <?php get_footer(footer.php);?>
 * My site is: [mhdo.org](http://www.mhdo.org)
 * Unfortunately, the footer cannot be seen on the site (because the get_footer();
   code is in place)
 * The actual footer can be viewed on the mobile or tab (where the footer appears…)
 * Thank you in advance for your help.
 * [https://wordpress.org/plugins/accordion-shortcodes/](https://wordpress.org/plugins/accordion-shortcodes/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/get_footer-issue/#post-5072400)
 * This is not really an issue with this plugin and is more an issue with your theme.
 * That said, you don’t need both `include('footer.php')` and `get_footer()`. All
   you want in your template files is `<?php get_footer(); ?>`.
 * `get_footer()` is a function that essentially loads the `footer.php` file for
   you (and does a few other things). [See this](http://codex.wordpress.org/Function_Reference/get_footer)
   for more info.
 *  Thread Starter [p5laris](https://wordpress.org/support/users/p5laris/)
 * (@p5laris)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/get_footer-issue/#post-5072427)
 * Thank you for your clarification and for sharing the link. It definitely helps
   for me to know it’s something that I can try to isolate within my theme’s code.(
   I’ve been trying a whole bunch of stuff and your advice this will at least help
   me to eliminate it being a conflict with the plug-in. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘get_footer() issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/accordion-shortcodes.svg)
 * [Accordion Shortcodes](https://wordpress.org/plugins/accordion-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accordion-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accordion-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/accordion-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accordion-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accordion-shortcodes/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 2 replies
 * 2 participants
 * Last reply from: [p5laris](https://wordpress.org/support/users/p5laris/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/get_footer-issue/#post-5072427)
 * Status: resolved