Display Footer ONLY on Homepage

Community Forums Forums Design Tips and Tricks Display Footer ONLY on Homepage

This topic is: not resolved

This topic contains 8 replies, has 3 voices, and was last updated by  braddalton 1 year, 5 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #15521

    BrightTribe
    Participant
    Post count: 28

    Hello. I’m currently using the Agency theme to develop a new site, and I’m using the Footer Widgets to display content that I only want to show up on the homepage.  Is there a quick and easy way to make the footer widget areas only show up on the homepage and not the internal pages?  Thanks!


    Brian Dempsey, Bright Tribe, Inc.
    info@brighttribe.com | 678-267-3267

    #15621

    braddalton
    Participant
    Post count: 9287

    You need to add a conditional tag to the footer code.

    is_home


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #15728

    BrightTribe
    Participant
    Post count: 28

    Hi Brad,

    Sounds easy enough. But I’m not sure where or how. Thank you for your help.


    Brian Dempsey, Bright Tribe, Inc.
    info@brighttribe.com | 678-267-3267

    #15900

    BrightTribe
    Participant
    Post count: 28

    Well, I was able to fix it, but I did it using the Widget Logic plugin because I couldn’t figure out how to make it work in the code.  This is actually a pretty useful little plugin.  Thanks for the help, Brad.

    http://wordpress.org/extend/plugins/widget-logic/


    Brian Dempsey, Bright Tribe, Inc.
    info@brighttribe.com | 678-267-3267

    #15904

    braddalton
    Participant
    Post count: 9287

    No worries. Good plugin choice!


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #25671

    moxiegirl
    Participant
    Post count: 71

    I’d like to add that conditional tag to the footer code. I tried placing the in the Genesis Footer hook and it isn’t working. I checked “Unhook genesis_do_footer() function from this hook?” and ‘Execute Shortcodes on this hook?’. I’m not sure what else I am missing.

    http://www.demo3.spark-collaborative.com/about/

     

    Perhaps I have the wrong code? is_home()

    #25674

    moxiegirl
    Participant
    Post count: 71

    I too installed that Widget logic and had to use the is_front_page() code. I wonder though how I would do this with Simple hooks, or is it not possible?

    #25675

    moxiegirl
    Participant
    Post count: 71

    I too installed that Widget logic and had to use the is_front_page() code. I wonder though how I would do this with Simple hooks, or is it not possible?

    #25785

    braddalton
    Participant
    Post count: 9287

    Its possible but a custom function is better.

    or CSS code

    [css]
    .home #footer-widgets {
    display: none;
    [/css]


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

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

You must be logged in to reply to this topic.