WordPress.org

Ready to get started?Download WordPress

Forums

How to write copyright + link in the middle of footer in Twenty Fourteen? (7 posts)

  1. tamasit
    Member
    Posted 7 months ago #

    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>
  2. Andrew
    Forum Moderator
    Posted 7 months ago #

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

  3. tamasit
    Member
    Posted 7 months ago #

    Hi Andrew,

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

    Best,
    Tamas

  4. tommee81
    Member
    Posted 6 months ago #

    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.

  5. tamasit
    Member
    Posted 6 months ago #

    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.

  6. WPyogi
    Volunteer Moderator
    Posted 6 months ago #

    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.

  7. tamasit
    Member
    Posted 6 months ago #

    Thank you.

Reply

You must log in to post.

About this Topic

Tags