• Resolved Martin

    (@pc-coholic)


    Hi Anders,

    Currently, the only way to add more content to the footer-credits is by editing the footer.php, which results in lost changes after updating the template.

    I don’t know if it can be done, but I’d love to see an option, where I can add more content to be shown in the footer-line via the frontend.

    Even better, perhaps there is way I can add a default text that is added to the credits (like a credit for the header-image) and additionally, I can overwrite this default text in each entry/page when using another header-image I want to credit.

    I hope, that wasn’t too confusing ??

    Martin

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you are comfortable with code try using a child theme, so that if the theme updates no changes will be lost..

    Change this area of footer.php

    <div class="credits section bg-dark no-padding">
    
    		<div class="credits-inner section-inner">
    
    			<p class="credits-left">
    
    				&copy; <?php echo date("Y") ?> <a href="<?php echo home_url(); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a>
    
    			</p>
    
    			<p class="credits-right">
    
    				<span><?php printf( __( 'Theme by <a href="%s">Anders Noren</a>', 'hemingway'), 'https://www.andersnoren.se' ); ?></span> &mdash; <a title="<?php _e('To the top', 'hemingway'); ?>" class="tothetop"><?php _e('Up', 'hemingway' ); ?> &uarr;</a>
    
    			</p>
    
    			<div class="clear"></div>
    
    		</div> <!-- /credits-inner -->
    
    	</div> <!-- /credits -->

    for credits area

    Theme Author Anders Norén

    (@anlino)

    Hi Martin,

    I understand what you’re asking for, and it’s certainly possible, but I want to keep Hemingway as simple as possible. I might add support for custom credit text in the future, but I don’t promise anything.

    For now, I’d recommend you to do as bravokeyl suggests and use a child theme. That way, you can make changes without worrying about them being reset by updates.

    Thread Starter Martin

    (@pc-coholic)

    Hi ANders, Hi bravokeyl,

    Thanks for the suggestions – I’ll look into those!

    Martin

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add content to footer-credits’ is closed to new replies.