In standard WordPress themesfooter.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="http://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="http://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="http://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

5 Types of Medical Equipment that Use Miniature Motors

The invention of miniaturized motors and their integration into many mechanical equipment use in different industries have not only improved the way these industries work, they have also revolutionized the very machinery they work with. One of the biggest examples of this phenomenon involves the healthcare industry, with many life-saving and healing equipment becoming more effective in their roles, thanks…

Applications of Complex Number Analysis to Divisibility Problems

Prove that $ {(x+y)}^n-x^n-y^n$ is divisible by $ xy(x+y) \times (x^2+xy+y^2)$ if $ n$ is an odd number not divisible by $ 3$ . Prove that $ {(x+y)}^n-x^n-y^n$ is divisible by $ xy(x+y) \times {(x^2+xy+y^2)}^2$ if $ n \equiv \pmod{6}1$ Solution 1.Considering the given expression as a polynomial in $ y$ , let us put $ y=0 $ . We…

How to create custom WordPress Widgets?

For those who run WordPress powered websites understand the importance of adding widgets on their site. Widgets are a great way to add content and additional features on your website. They make it extremely easy for you to simply drag and drop several elements such as sidebar, header, footer, of your website and thus making the most out of its…

6 Web Design Tips to Boost Your Conversion Rate

It can be daunting to get more customers without conversions. Most business owners tend to focus on different aspects of digital marketing such as social media and SEO but invest little effort in their web design. Your design is the first thing that prospective customers will notice once they visit your website. They can use it to ascertain your degree…