• Resolved royaltea1

    (@royaltea1)


    Is there a way I can add text to the footer (at the bottom of the page where it says powered by wordpress)? I would like to be able to add a short disclaimer in that area. I copied my footer.php file into my child theme, but I’m not sure where I’m suppose to input my text?

    Also, are we able to remove the powered by wordpress and illustratr credits at the bottom of the page? I’ve seen other webpages with the same theme without the credits but I’m not sure if this is allowed or not.

    My website is World of Tea Infusers

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi there, find this in your footer.php file

    <?php printf( __( 'Theme: %1$s by %2$s.', 'illustratr' ), 'Illustratr', '<a href="https://wordpress.com/themes/" rel="designer">WordPress.com</a>' ); ?>

    and simply add your disclaimer after it with a break tag, like this

    <?php printf( __( 'Theme: %1$s by %2$s.', 'illustratr' ), 'Illustratr', '<a href="https://wordpress.com/themes/" rel="designer">WordPress.com</a>' ); ?><p class="disclaim">This is my disclaimer</p>

    I added a CSS class to the disclaimer so that you could add CSS to style it differently from the existing footer credits.

    You can also remove the existing credits if you so want to. This would be what you would remove from the footer.php file.

    <a href="http://ww.wp.xz.cn/" rel="generator"><?php printf( __( 'Proudly powered by %s', 'illustratr' ), 'WordPress' ); ?></a>
    				<span class="sep"> | </span>
    				<?php printf( __( 'Theme: %1$s by %2$s.', 'illustratr' ), 'Illustratr', '<a href="https://wordpress.com/themes/" rel="designer">WordPress.com</a>' ); ?>

    I would leave the opening and closing divs (site-info) and you can put your own text between those two.

    Thread Starter royaltea1

    (@royaltea1)

    Hi Sacredpath, this was incredibly helpful, thank you!

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    You are welcome.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding text to footer’ is closed to new replies.