• 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

Make CTA Area not Show on a couple pages.

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 › Make CTA Area not Show on a couple pages.

This topic is: resolved

Tagged: academy pro, CTA

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 3 months ago by Tree78.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 8, 2018 at 10:49 am #216348
    Tree78
    Participant

    Hey guys,

    I would like to delete the CTA area from showing on a couple of pages on this website. I am using the academy pro theme. The CTA shows across the site, which is fine, but I want to delete it on these pages:

    Giving

    Recurring Giving

    The area that has the giving button and the app download icons. How could I do that for those two pages only?

    Jeremy

    February 8, 2018 at 11:48 am #216351
    Brad Dalton
    Participant

    You can add a conditional tag to exclude pages around line 471 in functions.php.

    Something like this :

    add_action( 'genesis_before_footer', 'academy_footer_cta' );
    /**
     * AAdds the footer cta area.
     *
     * @since 1.0.0
     */
    function academy_footer_cta() {
    
    if ( is_page(array( '1','2' ) ) )
        return;
    
    	genesis_widget_area( 'footer-cta', array(
    		'before' => '<div id="footer-cta" class="footer-cta"><h2 class="genesis-sidebar-title screen-reader-text">' . __( 'Footer CTA', 'academy-pro' ) . '</h2><div class="flexible-widgets widget-area ' . academy_widget_area_class( 'footer-cta' ) . '"><div class="wrap">',
    		'after'  => '</div></div></div>',
    	) );
    
    }
    

    Where '1','2' are your page i.d's


    Tutorials for StudioPress Themes.

    February 8, 2018 at 2:21 pm #216354
    Tree78
    Participant

    Yes! Thank you Brad. Worked perfectly. Appreciated.

    Jeremy

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Make CTA Area not Show on a couple pages.’ 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

© 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