In standard WordPress themes, footer.php file contains the credits. But in Genesis and its child themes, the functions.php file does the part. Genesis renders the credits by using the following action:

do_action( 'genesis_footer' );

Most of the times, the footer credits are automated and have the format like

© 2019. Gaurav TiwariGenesis Framework | Log In.

Certainly, a lot of Genesis users want to customize the credits according to their need but they don’t find a way to do so.

If you know how to edit WordPress themes from Dashboard, you can customize Genesis footer by writing single line of codes.

Step One:

  • Open Dashboard → hover over Appearance → click on Editor

Step Two:

  • Select Genesis child theme to edit.

Do not edit the parent files of Genesis Theme.

Screenshot_7

Step Three:

  • Open Theme functions (functions.php) file.
Screenshot_8

Step Four:

  • At the end of functions.php , enter
remove_action( 'genesis_footer', 'genesis_do_footer' );

This will remove the genesis footer.

Optionally, you can also hide the Genesis footer by writing the following CSS in style.css file or by using this code in Customizer’s Additional CSS tab:

.footer .wrap { display:none!important; }

Step Five:

  • Now if you want to write custom credits to footer, you can add an action by writing
add_action( 'genesis_footer', 'my_custom_footer' );

This action replaces default genesis_do_footer with your own my_custom_footer. At the end you will need to add a function to my_custom_footer which can echo your HTML code. It can be done by writing

function my_custom_footer() {  echo '<p>© Copyright 2019 <a href="https://gauravtiwari.org">Gaurav Tiwari</a> | Anything Else using simple HTML or PHP</p>' }

So, the complete PHP code reads like:

< ?php remove_action( 'genesis_footer', 'genesis_do_footer' ); add_action( 'genesis_footer', 'my_custom_footer' ); function my_custom_footer() { echo'<p>© Copyright 2014 <a href="https://gauravtiwari.org">Gaurav Tiwari</a> | Anything Else using simple HTML or PHP</p>' } ?>

Alternatively, the same can be done by writing the function as

function my_custom_footer() { ?>  <p>© Copyright 2014 <a href="https://gauravtiwari.org">Gaurav Tiwari</a> | Anything Else using simple HTML or PHP</p> }

8 comments
  1. Thank you for the great article. Love how you explained everything. Could you please tell me how I can delete the (Powered by Gb-rugs.com – Rugs & Carpets) at the very bottom of my homepage?

    I leave My website in the comment so you can check out and see better what I mean.
    Thanks again Gaurav Tiwari

    1. Dear Hamed. Under Appearance → Theme Editor in your Dashboard, please open

      footer.php

      and delete the code similar to this:

      < p style="text-align: center; font-size:10px">Powered by < a href="http://www.gb-rugs.com/index.asp?lang=uk" target="_blank">Gb-rugs.com - Rugs & Carpets</p>

      Hope this helps.

      1. I request you to look upon the same by searching

        Gb-rugs.com - Rugs & Carpets

        inside footer.php, functions.php and index.php files respectively. If not found, I suspect there is a plugin interference or your database has been compromised.

  2. Gaurav Tiwari thank you very much for quick reply. Wasn’t able to located it. Probably plugin issue. I have another question if you don’t mind. If you look at the footer of my homepage, you will see a list. I’m trying to put them in a row instead of a column but can’t find the option to do so.
    Home
    Great links to check out
    In the media
    PR/Advertise
    Published articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You May Also Like

Understanding the Basics of Social Media Platforms

Social media isn’t a fad anymore. In fact, it’s not an option for the discerning entrepreneur big or small. Businesses will barely achieve their goals if they are competing against rivals who are miles ahead in terms of social media usage. However, it pays to take the plunge if you know what’s expected and required within the social media realm.…

Design Essentials You Should Implement into Your WordPress Blog

Your blog is the culmination of hours of hard work. Whether you are blogging to share personal insights, or as part of a business strategy, you want to make sure that your hard work pays dividends in blog visitors and subscribers. A good site design is one of the ways that you can set yourself apart from the competition. Knowing…

How to Write Incredible Blog Post Headlines

Headlines are often referred to as “the gatekeepers of your content.” This is certainly one way to look at them, but you should also treat them like giant billboards on the highway, asking readers to get off at the next exit and come visit your content. Just like these giant advertisements, if you don’t grab their attention and entice them, they…