Remove button from footer on home page (but keep on sub-pages)
On my mobile site, I have a footer with a button of "back" - I am trying to figure out how to remove the button for the home page (so it just shows the footer with no button), but have the button show up on sub-pages.
Here is my footer code:
- </div><!-- data role content-->
- <div data-theme="b" data-role="footer">
- <h3>
- Premier IT Consulting
- </h3>
- <a data-role="button" data-direction="reverse" data-rel="back" data-icon="back" data-iconpos="left" class="ui-btn-left">
- Back</a>
- </div>
- <?php wp_footer(); ?>
- </div><!-- data role content-->
- </body>
- </html>
Since it appears the footer is global for every page on the website, I'm not sure how to go about doing this. If I remove the HTML from the footer, it won't show on any page.
Just FYI. I'm using wordpress and instead of hosting the .js and .css files on my site, I'm using this in my header:
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
- <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
- <script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
Anyone have any suggestions?