Support » Theme: Twenty Twenty » Change copyright in footer

  • Resolved jurjendevries

    (@jurjendevries)


    Hi!

    In the footer of the Twenty Twenty theme comes a copyright notice by default. It is linked to the homepage.
    I try the change this a bit and like to link it to another page a created with Creative Commons information about the items I am using at the site. I could not find anything about this in the theme settings.

    Thanks for helping me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, there isn’t a filter for modifying the content there. That said, you’ll first want to create a child theme for your site if you have not already:

    https://developer.wordpress.org/themes/advanced-topics/child-themes/

    After you have the child theme ready, copy over the footer.php file from the Twenty Twenty theme. Once you have that copied over to your child theme, open the file and look for the following code section

    <p class="footer-copyright">&copy;
    							<?php
    							echo date_i18n(
    								/* translators: Copyright date format, see https://secure.php.net/date */
    								_x( 'Y', 'copyright date format', 'twentytwenty' )
    							);
    							?>
    							<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php echo bloginfo( 'name' ); ?></a>
    						</p><!-- .footer-copyright -->

    This section of code determines the content displayed for the copyright. Basically you can modify as much as you want in there but you’ll want to keep the beginning <p class="footer-copyright"> and ending </p> to ensure it displays correctly on your site.

    Thanks a lot @jarretc . It worked well.

    Do you know if there is an option to provide feedback to the theme authors? I would love to see this changeable by widgets or so instead of child theming in the future.

    Some of the theme authors hang around in here as I’ve seen them respond to other topics. However, there is a way to request that this functionality be introduced into the theme.

    A ticket could be created on Trac (where development for the theme happens now) but it isn’t a guarantee it would be added:

    https://core.trac.wordpress.org/newticket

    If you aren’t familiar with Trac though and its process, I can create the request for you that the footer content be changeable through the Customizer?

    Thanks again @jarretc . I created a ticket to Trac. https://core.trac.wordpress.org/ticket/48779#ticket

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change copyright in footer’ is closed to new replies.