• 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

Removing Minimum Pro Site Tagline from Several 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 › General Discussion › Removing Minimum Pro Site Tagline from Several Pages

This topic is: not resolved

Tagged: MinimumPro, site tagline

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 6 months ago by Brad Dalton.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 20, 2013 at 12:26 pm #74450
    Jami Howard Mays
    Member

    I've found via the forums how to remove the tagline from one page, but I'm trying to remove it from four pages.

    I'm using:

    //* Add the site tagline section
    add_action( 'genesis_after_header', 'minimum_site_tagline' );
    function minimum_site_tagline() {
    	if (!is_page('55, 56, 57, 59')) {
    		printf( '<div %s>', genesis_attr( 'site-tagline' ) );
    		genesis_structural_wrap( 'site-tagline' );
    
    			printf( '<div %s>', genesis_attr( 'site-tagline-left' ) );
    			printf( '<p %s>%s</p>', genesis_attr( 'site-description' ), esc_html( get_bloginfo( 'description' ) ) );
    			echo '</div>';
    
    			printf( '<div %s>', genesis_attr( 'site-tagline-right' ) );
    			genesis_widget_area( 'site-tagline-right' );
    			echo '</div>';
    
    		genesis_structural_wrap( 'site-tagline', 'close' );
    		echo '</div>';
    	}
    }

    I'm familiar with the CSS needed to bring the wrap down on these pages, but it's only removing it from page-id 55 - I feel like I'm having a total brainfart trying to remove it from more than one page (a whole series of parent pages + child pages).

    Thanks in advance.


    Jami Howard Mays, HBIC, Imaj Works | Athens, Georgia

    http://mamasboyathens.com/preview
    November 21, 2013 at 2:09 am #74682
    Brad Dalton
    Participant

    Change this line from this:

    if (!is_page('55, 56, 57, 59')) {
    

    To this:

    if (!is_page(array(55, 56, 57, 59))) {
    

    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ 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