• 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 Pro Sub-Footer Widget installed on Agency Pro

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 › Outreach Pro Sub-Footer Widget installed on Agency Pro

This topic is: not resolved

Tagged: agency pro, Outreach Pro, sub-footer

  • This topic has 5 replies, 2 voices, and was last updated 11 years, 11 months ago by Brad Dalton.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • January 2, 2014 at 4:05 pm #82766
    nancimurdock
    Member

    Hello StudioPress Community,

    Outreach Pro (just released) has a really cool widget on the home page that flows through to every page in the theme: Sub-Footer. I am trying to install same footer on Agency Pro, but when I copy the following code:

    }

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

    if ( is_active_sidebar( 'sub-footer-left' ) || is_active_sidebar( 'sub-footer-right' ) ) {
    echo '<div class="sub-footer"><div class="wrap">';

    genesis_widget_area( 'sub-footer-left', array(
    'before' => '<div class="sub-footer-left">',
    'after' => '</div>',
    ) );

    genesis_widget_area( 'sub-footer-right', array(
    'before' => '<div class="sub-footer-right">',
    'after' => '</div>',
    ) );

    echo '</div><!-- end .wrap --></div><!-- end .sub-footer -->';
    }

    }

    ...to my functions.php file in Agency Pro I break the entire website and all that appears is a, "parse error ..... on line 144) To fix it, I actually had to copy the entire Agency Pro functions.php file from the theme demo into my C-panel (same file) at Hostgator.

    Any ideas on how I can overcome this? I very much like the call-to-action options of the sub-footer widget, especially as it appear on all web pages - including posts - and would like to incorporate this feature into an Agency Pro website I am building for a client.

    Thank you!

    http://socialmediabonk.com
    January 2, 2014 at 4:17 pm #82771
    Brad Dalton
    Participant

    Use the view raw link to copy the code which does not include the Media Queries.


    Tutorials for StudioPress Themes.

    January 10, 2014 at 7:52 am #84368
    nancimurdock
    Member

    Brad, I missed this in my email - thank you so much.

    I will let you know if/when it works!

    January 11, 2014 at 7:39 am #84594
    nancimurdock
    Member

    Hi Brad,

    I posted EXACTLY what you sent and nothing happens on any of the pages EXCEPT the blog page, where this appears:

    Fatal error: Cannot redeclare outreach_sub_footer() (previously declared in /home2/nanci/public_html/socialmediabonk.com/wp-content/themes/agency-pro/functions.php:119) in /home2/nanci/public_html/socialmediabonk.com/wp-content/themes/agency-pro/functions.php on line 117

    I am new to this but am surprised that an error like this (which I do not pretend to understand) would appear on no other page or post than my blog template, which is: http://socialmediabonk.com/inside-scoop/

    I apologize for my lack of knowledge - I appreciate your time.

    January 12, 2014 at 2:51 pm #84813
    Brad Dalton
    Participant

    You must have the code in there already so please remove it or change the name of the function. You cannot use 2 functions with the same name.


    Tutorials for StudioPress Themes.

    January 12, 2014 at 3:33 pm #84829
    Brad Dalton
    Participant

    Here's the full tutorial http://wpsites.net/web-design/add-outreach-pro-sub-footer-widgets-to-agency-pro-theme/


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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

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