Customize the Footer Text

Community Forums Forums Design Tips and Tricks Customize the Footer Text

This topic is: not resolved

This topic contains 7 replies, has 5 voices, and was last updated by  Sridhar Katakam 2 years ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #68549


    Trying to learn Genesis and building a stripped-down child theme to server as a ‘starter template’ for future sites. Using the latest 2.0.1 framework.

    Just trying to simply change the default footer text, but not having a lot of success. I added the code per the snippet found at MyStudioPress:

    remove_action( 'genesis_footer', 'genesis_do_footer' );
    add_action( 'genesis_footer', 'sp_custom_footer' );
    function sp_custom_footer() {
    <p>&copy; Copyright 2012 <a href="">My Domain</a> &middot; All Rights Reserved &middot; Powered by <a href="">WordPress</a> &middot; <a href="">Admin</a></p>

    While it does add the new line, it does NOT remove the default. So there are two copyright lines now.

    – Did I miss something obvious? I copied & pasted from the code snippet.
    – I also tried to use the shortcode [footer_copyright] instead of the year, but it just outputs the shortcode as-is. ?!?

    Thanks! Hoping things will get easier as I get more familiar…


    Sridhar Katakam

    I tested that code snippet in Genesis Sample child theme v2.0.1 with Genesis parent theme v2.0.1 and it works fine.




    Looks like you’re going about this in the most pure way (manually coding what will become a starting template for future sites). But I just want to make sure you’re aware of the Genesis Simple Edits plugin. Makes this easy as pie.



    Where does the code snippet above need to be placed? I’m aiming for the same thing…

    • This reply was modified 2 years, 1 month ago by  emmajemm. Reason: EDIT: never mind I figured it out!
    • This reply was modified 2 years, 1 month ago by  emmajemm. Reason: EDIT: never mind I figured it out!

    Sridhar Katakam

    At the end of child theme’s functions.php.




    Thanks for the help. Looks like the developer who helped first create this base child theme didn’t add the line:
    include_once( get_template_directory() . '/lib/init.php' );

    Once I added that, things started working a bit better. Is that absolutely required and the ‘best/most efficient’ way to go about it??

    And the reason I was doing it manually vs. using the plugin right now are:
    A) thought it would be good to start learning the ‘proper’ way to do things so I know the syntax a bit;
    B) worried about the plugin becoming outdated/incompatible on an update;
    C) wasn’t certain the plugin could do everything that may be needed for changing/overriding, which may result in some changes being in plugin and some in functions.php, which just may get confusing to see what’s really going on.

    Let me know if any of my concerns about the plugin are unwarranted.



    Sridhar Katakam

    If you are comfortable adding and editing functions.php that is the way to go. You will feel like you are in control.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.