• 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

chobs

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • February 27, 2015 at 8:18 am in reply to: parallax pro homepage look on pages? #142528
    chobs
    Member

    Building out custom pages now, may have to sacrifice having the editor altogether on this one and be super specific between the header and footer to get exactly what I need, oi!

    February 27, 2015 at 8:15 am in reply to: Genesis Virgin #142526
    chobs
    Member

    Thanks Davinder, I'm all set! See you on the inside.

    February 26, 2015 at 9:01 am in reply to: Genesis Virgin #142366
    chobs
    Member

    Thanks Davinder! Appreciate it.

    Cheers

    February 25, 2015 at 8:46 am in reply to: Genesis Virgin #142206
    chobs
    Member

    Thanks for the inside scoop Davinder I appreciate it! Will definitely check it out. Cheers

    EDIT:...just looking at this now, apparently I need to be invited by a Team Administrator to get access/account, do you know any Slack Administrators around here?

    February 23, 2015 at 10:09 am in reply to: Studiopress Bootstrap? #141877
    chobs
    Member

    Thanks for clarifying. Cheers David!

    February 22, 2015 at 10:23 am in reply to: Center title in Genesis Responsive Slider #141759
    chobs
    Member

    I'm trying to figure out how I can center the type as well but I'm having no luck, I'm using !important which is not ideal as my child CSS doesn't seem to override the plugin's styles. Does anyone here have thoughts that might point me in the right direction?

    I wonder if the Slider settings that specify: left, right, are overriding any style changes...but I'm not sure.

    Cheers
    c

    February 22, 2015 at 7:56 am in reply to: Center Post Title in Genesis Responsive Slider #141743
    chobs
    Member

    Found this: http://www.studiopress.community/topic/center-title-in-genesis-responsive-slider/

    February 22, 2015 at 7:34 am in reply to: Center Post Title in Genesis Responsive Slider #141737
    chobs
    Member

    I would like to know this as well, this would be a huge asset because I love this plugin, anyone?

    February 20, 2015 at 7:11 am in reply to: How do I remove the Date, Author and Comments? #141440
    chobs
    Member

    Go to line 1517 of your style.css file in your Magazine Pro child-theme folder and replace it with this:

    .entry-meta {
    	/* font-size: 14px; */
    	display:none;
    }

    I commented out the font size so that you can put it back the way it was later if you want.

    February 20, 2015 at 6:50 am in reply to: Got header banner Image on pages, but doesn't appear on blog? #141434
    chobs
    Member

    For future coders: I got some help from Howdy_McGee at WP Stack Exchange, he made some suggestions that worked like a charm, basically WP was seeing single pages. Previously I was using !is_singular( 'page' ), however when I created a 'Blog' from a page, it automatically becomes an archive, so that rules out it being 'a single page' as it is now pulling in a lot of Blog posts and WP doesn't recognize it. And, there's no way to specify a page ID because of it. So we use is_page() and is_home() instead. And for the second conditional we use if is_home get page_for_posts and ask it to get_the_ID. Long story short, if you want a banner image on pages and posts drop this in your functions.php

    //* Add Header Images on Posts/Pages
    add_image_size( 'header-img', 1600 );
    add_action( 'genesis_after_header', 'site_banner', 0 );
    function site_banner() {
        if( ( is_page() || is_home() ) ) {
            $post_id = ( is_home() ? get_option( 'page_for_posts' ) : get_the_ID() );
    
            if( has_post_thumbnail( $post_id ) ) {
                $ftbanner = wp_get_attachment_image_src( get_post_thumbnail_id( $post_id ), 'header-img' );
                $banner = $ftbanner[0];
                echo '<div id="site-banner" class="site-banner">' . "\n";
                echo '<img src="' . $banner . '">' . "\n";
                echo '</div>' . "\n";
            }
        }
    }
    February 19, 2015 at 1:12 pm in reply to: Got header banner Image on pages, but doesn't appear on blog? #141352
    chobs
    Member

    Spoke too soon, somehow this code still only specifies adding a banner image to the header of Pages -- I should probably mention I'm using the Parallax Pro theme which requires a Blog page be created in the Pages section for a blog roll to work. In any case the Blog is a page, yet it doesn't display like the other pages...my head hurts.

    February 19, 2015 at 9:53 am in reply to: Got header banner Image on pages, but doesn't appear on blog? #141317
    chobs
    Member

    Okay I got rid of the !isingular_page('page') and replaced it with is_home() and included an ID for the page in the second conditional. Thanks for the troubleshoot Lauren!

    //* Add Header Images on Posts/Pages
    add_image_size( 'header-img', 1600);
    add_action('genesis_after_header', 'site_banner', 0);
    function site_banner(){
    	if( is_home() )
    		return;
    
    	if( has_post_thumbnail() && is_page(201) ) :
    		$ftbanner = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ), 'header-img' );
    		$banner = $ftbanner[0];
    		echo '<div id="site-banner" class="site-banner">' . "\n";
    		echo '<img src="' . $banner . '">' . "\n";
    		echo '</div>' . "\n";
    	endif;
    }
    February 19, 2015 at 8:59 am in reply to: Got header banner Image on pages, but doesn't appear on blog? #141306
    chobs
    Member

    It's local I'm afraid. But thanks for jumping in.

    c

    February 19, 2015 at 8:36 am in reply to: Got header banner Image on pages, but doesn't appear on blog? #141299
    chobs
    Member

    Thanks Lauren, sorry I'm not sure I follow. by specifying do you mean

    if( has_post_thumbnail() && is_page('blog') ) :?

    I read thru the codex, even added an ID:

    if( has_post_thumbnail() && is_page(201) ) :

    no dice. and maybe something else needs to change? I'm new at this so I appreciate your insight.

    Thanks! c

    January 27, 2014 at 12:41 pm in reply to: Magazine theme ad box/banner on header ?? #87263
    chobs
    Member

    I'm also curious how to get this to work, I want to ad custom ads in a couple of places, not adsense, but affiliate ads, does anyone have a suggestion on how best to do this?

    December 17, 2013 at 11:00 am in reply to: Adsense Multiple Ads Vanish – Not because 3 ads #79785
    chobs
    Member

    Clairification, I figured out how to have all three on a post. However when I use the "featured post widget" to show a full post on the homepage, it DOESN't appear under the title, so I put it in the top right header instead. This get's a little confusing to explain.

    Here's what I mean, homepage: http://porschelover.com
    And post: http://porschelover.com/art-porsche-design-urban-outlaw-la/

    Notice the header right with the leaderboard makes the post now 4 Adsense ads. Not sure if I can hide the leaderboard in the header on a post...

    In a perfect world it would be like this: http://endangeredcars.com however I realize this is another Studio Press theme altogether from Mag Pro, which is the one I use.

    Thoughts?
    C

    December 17, 2013 at 9:46 am in reply to: Adsense Multiple Ads Vanish – Not because 3 ads #79773
    chobs
    Member

    Thanks Davinder,

    I think you saw this as I was testing. I figured out that I could not include shortcode for a two Adsense ads (in functions.php) in a post without it canceling out the third ad (skyscraper) in the sidebar. I ideally wanted a leaderboard to appear under my post title on the homepage/featured post. I guess the Genisis theme doesn't allow for it. I heard about a plugin that does this for $19 but I'm hesitant to spend.

    C

  • Author
    Posts
Viewing 17 posts - 1 through 17 (of 17 total)

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

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