WordPress.org

Support

Support » How-To and Troubleshooting » How to write copyright link in the middle of footer in Twenty Fourteen?

How to write copyright link in the middle of footer in Twenty Fourteen?

  • Hello, I’m new to WordPress and recently installed the Twenty Fourteen theme. I would like to put a copyright logo with my name and a “Privacy Policy” link in the middle of the footer. I would be very grateful for any help.
    Many thanks,
    Tamas

    This how my footer.php looks like:

    [ Moderator note: please wrap code in backticks or use the code button. ]

    <?php
    /**
     * The template for displaying the footer
     *
     * Contains footer content and the closing of the #main and #page div elements.
     *
     * @package WordPress
     * @subpackage Twenty_Fourteen
     * @since Twenty Fourteen 1.0
     */
    ?>
    
    		</div><!-- #main -->
    
    		<footer id="colophon" class="site-footer" role="contentinfo">
    
    			<?php get_sidebar( 'footer' ); ?>
    
    			<div class="site-info">
    				<?php do_action( 'twentyfourteen_credits' ); ?>
    				<a>"><?php printf( __( 'Proudly powered by %s', 'twentyfourteen' ), 'WordPress' ); ?></a>
    			</div><!-- .site-info -->
    		</footer><!-- #colophon -->
    	</div><!-- #page -->
    
    	<?php wp_footer(); ?>
    </body>
    </html>
Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    You’ll need to set up a Child Theme first http://codex.wordpress.org/Child_Themes

    Hi Andrew,

    Thank you very much for this. It is going to be a challenge but I will try to do it.

    Best,
    Tamas

    Hi Tamas,

    Itt/here is Tamas. I also changed my footer in child. This is wat i have now aan the lefts side of my footer
    Alle rechten voorbehouden. © 2014 Name of my company
    They link to my homepage and you can link it to your “Privacy Policy”.
    If you also want this, it is really simple. You just change the ´´link´´, the ´´Proudly powered by´´ and the ´´WordPress´´ words.
    It should be something like this-

    <div class="site-info">
    				<?php do_action( 'twentyfourteen_credits' ); ?>
    				<a href="<?php echo esc_url( __( 'http://MYWEBSITE.COM/', 'YOUR COMPANY' ) ); ?>"><?php printf( __( 'Alle rechten voorbehouden. &copy 2014 %s', 'twentyfourteen' ), 'YOUR COMPANY' ); ?></a>
    			</div><!-- .site-info -->

    I do not see the link to wordpress in your footer, this is strange. It should be the same als mijn.

    Hi Tamas,

    Thanks for your response. What you are saying is that I should just change the words or set up a child for that?

    Many thanks for your help.

    WPyogi

    @wpyogi

    Forum Moderator

    Any modifications to theme files should be made in a child theme – otherwise all of your changes will be lost when WP is updated.

    Once you have a child theme set up, put a copy of the footer.php file in the child theme and make the changes in that copy.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to write copyright link in the middle of footer in Twenty Fourteen?’ is closed to new replies.
Skip to toolbar