• I’ve already omitted the WP footer credits, but couldn’t figure out how to add mine there. not a coder, and I don’t see documentation for this theme.

    Will someone please give me the code for adding my own credits and copyright info to the footer, where I can just replace the title and other bits w/ my own info?

    Oh, I have no need for the site link in the footer, and already removed that whole section, too. It’s just the code to add my own credits and copyright I’m after now.

    Thanks in advance,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Not sure if it’s the best coding, but I just took the parent footer and deleted everything I didn’t want. Seem to work just fine … this is in my child footer.php file. Towards the bottom of the code look for ‘&copy YOUR SITE HERE’, and replace with your desired text.

    <?php
    /**
     * The template for displaying the footer
     *
     * Contains the closing of the "site-content" div and all content after.
     *
     * @package WordPress
     * @subpackage Twenty_Sixteen_Child
     * @since Twenty Sixteen 1.0
     */
    ?>
    
    	</div><!-- .site-content -->
    
    	<footer id="colophon" class="site-footer" role="contentinfo">
    		<div class="site-info">
    			<?php
    				/**
    				 * Fires before the Twenty Fifteen footer text for footer customization.
    				 *
    				 * @since Twenty Fifteen 1.0
    				 */
    				do_action( 'twentysixteen_credits' );
    			?>
    			<?php printf( __( '&copy YOUR SITE HERE', 'twentysixteen-child' ), 'WordPress' ); ?>
    		</div><!-- .site-info -->
    	</footer><!-- .site-footer -->
    
    </div><!-- .site -->
    
    <?php wp_footer(); ?>
    
    </body>
    </html>

    Thread Starter E.

    (@ebhead)

    Thank you, g-engr. That worked. Can I delete this part: ‘twentysixteen-child’ ), ‘WordPress’ ); without messing anything up?

    I’m not sure what the format for printf is, but there’s one way to find out … delete it and see. If it works, guess you didn’t need it. If I were going to test it, I’d try …
    <?php printf( __( '&copy YOUR SITE HERE' ) ); ?>
    or maybe
    <?php printf( '&copy YOUR SITE HERE' ); ?>
    Again I’m not sure what the format is supposed to be. That being said, why delete it? It’s not hurting anything.

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