• 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

Outreach Theme – Sub Footers

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 › General Discussion › Outreach Theme – Sub Footers

This topic is: resolved

Tagged: home page only, outreach, sub footer left, sub footer right

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 2 months ago by Chris Cree.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 27, 2012 at 4:31 pm #7761
    Anita
    Keymaster

    I have a client interested in the Outreach theme, however - they only want the Sub Footer Left and Sub Footer Right areas on the home page only because they want to use the Primary sidebar on the inside pages to show their Twitter Stream. Before I have them purchase the theme - can someone tell me how I could use the Sub Footer Left and Sub Footer Right widget areas on the home page only? Here is the demo of Outreach - http://demo.studiopress.com/outreach/.


    Love coffee, chocolate and my Bella!

    December 28, 2012 at 11:43 am #7909
    Chris Cree
    Participant

    You'll need to customize your functions.php file in the copy of Outreach for the site. Look for the function outreach_sub_footer() at line 75. Add an additional if statement to the function

    if ( is_front_page() ) {

    outside the if statement for the is_active_sidebar function. Remember to add the closing } at the end outside the existing if statement.

    December 28, 2012 at 11:52 am #7915
    Anita
    Keymaster

    Thank you. I am confused with the last line you wrote. This is what I have. I inserted the code below the function outreach_sub_footer... do I need to place that } somewhere here?

    /** Add the sub footer section */
    add_action( 'genesis_before_footer', 'outreach_sub_footer', 5 );
    function outreach_sub_footer() {
    if ( is_front_page() ) {

    the rest of the code will not copy.....


    Love coffee, chocolate and my Bella!

    December 28, 2012 at 11:55 am #7917
    Chris Cree
    Participant

    If your opening and closing brackets don't match you'll get an error and crash the site. Here's the full code I was trying to explain:

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Outreach Theme – Sub Footers’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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