• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Customizing Footer in Eleven40

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Customizing Footer in Eleven40

This topic is: not resolved

Tagged: Eleven40, footer, priorities

  • This topic has 6 replies, 2 voices, and was last updated 9 years, 4 months ago by phacient.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • January 14, 2017 at 11:13 am #199385
    phacient
    Member

    I'm trying to put some text below the secondary navigation that sits at the bottom of the page and when I use Simple Hooks I *almost* get what I need. When I put the text in the "genesis_footer Hook" it's above the navigation but formatted correctly in terms of padding and responsiveness but it's above the navigation. When I put the text in the "genesis_after_footer Hook" it's in the right place but outside of the footer so there's no padding and the info is not in the footer where it should be. Doesn anyone know how I can just move the navigation up above the text or vice verse? I'm told that I need to use Priorities but I just don't know how to do that.

    http://www.phacient.com/
    January 14, 2017 at 11:20 am #199387
    Victor Font
    Moderator

    If you look in your functions.php at line 88, the secondary nav has been moved to the genesis_footer hook with a priority of 12. You need to place your function in the genesis_footer hook with a priority higher than 12 but less than 15 (footer markup close).


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 14, 2017 at 1:43 pm #199400
    phacient
    Member

    When you say "place your function in the genesis_footer hook", I'm placing text into the genesis_footer hook through Genesis Simple Hooks. What function do I put in with a priority of 13 (let's say)?

    This is what I have right now:

    //* Reposition the secondary navigation menu

    remove_action( 'genesis_after_header', 'genesis_do_subnav' );

    add_action( 'genesis_footer', 'genesis_do_subnav', 12 );

    Is this what you are talking about:

    //* Reposition the secondary navigation menu

    remove_action( 'genesis_after_header', 'genesis_do_subnav' );

    add_action('genesis_do_subnav', 12 );

    add_action( 'genesis_footer', 13 );

    January 15, 2017 at 5:24 pm #199439
    Victor Font
    Moderator

    No, not at all. You have to add your function, the one that displays your text, into the footer with a higher priority than the the nav.

    add_action('genesis_footer', 'my_additional_text', 13);
    
    function my_additional_text() {
    /* your code to display the text goes here */
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 15, 2017 at 6:40 pm #199441
    phacient
    Member

    Like this:

    add_action('genesis_footer', 'my_additional_text', 13);

    function my_additional_text() {
    "The text I want to display here"
    }

    or this:

    add_action('genesis_footer', 'my_additional_text', 13);

    function my_additional_text("The text I want to display here") {
    /* your code to display the text goes here */
    }

    I tried both and neither seems to work. Am I reading this wrong?

    January 15, 2017 at 10:19 pm #199449
    Victor Font
    Moderator

    The first example, but I suspect this change may be a little bit beyond your php skill level. The text needs to be echoed or printed. If you don't know what that means, I suggest you hire someone to help you.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 16, 2017 at 10:29 am #199481
    phacient
    Member

    I got it sorted. Thanks for the help!

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble