custom footer.php – responsive menu doesn't workanymore
-
Hello,
I’m using your great theme and ran into some issue with a custom footer.php file.
I wanted to add a link to some kind of “legal notice” in the footer (we have to do this in Germany). But when I add this file into my childthemes rootfolder my mobile menu won’t work anymore:
<div class="credits section bg-dark no-padding"> <div class="credits-inner section-inner"> <p class="credits-left"> © <?php echo date("Y") ?> <a href="<?php echo home_url(); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a> <span><?php printf( __( '| <a href="%s">Impressum</a>', 'hemingway'), 'http://kaminholz.schroeck-systems.de/wordpress/impressum/' ); ?></span> </p> <p class="credits-right"> <span><?php printf( __( 'Theme by <a href="%s">Anders Noren</a>', 'hemingway'), 'http://www.andersnoren.se' ); ?></span> — <a title="<?php _e('To the top', 'hemingway'); ?>" class="tothetop"><?php _e('Up', 'hemingway' ); ?> ↑</a> </p> <div class="clear"></div> </div> <!-- /credits-inner --> </div>My site is: kaminholz.schroeck-systems.de/wordpress
Thank you very much!
Regards amnesia
-
Hello,
we can close this topic. I made the mistake, that I just copied the lines above in a new footer.php in my child theme.
It works now, after I took the original footer.php file and just changed the lines for credits-left.Sometimes it can be that easy 😉
I’m struggling to insert a custom logo in my footer.php and have it display correctly.
It then occurred to me that the custom-header.php was necessary for the proper implementation of a custom header (kind of WP that the page and code was there for me to use or did WP write after I put the image in the header in Dashboard/Appearance/Customize?).
So, I’m left wondering if I need a custom-footer.php file and PHP code to get that one little graphic where I want it.
As you can surmise, I’m a noobie at WP and PHP.
Any help will go in your good deeds done file and be greatly appreciated by me.
TIA,
Dave
The topic ‘custom footer.php – responsive menu doesn't workanymore’ is closed to new replies.
