• 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

tibor

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 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • June 23, 2013 at 12:33 pm in reply to: Remove Google+ from profile settings #47300
    tibor
    Member

    Indeed...weird thing is I did try that before, but it didn't work then.. Must have made a typo or something.

    June 23, 2013 at 12:22 pm in reply to: How do I add post info to pages? #47297
    tibor
    Member

    You should indeed never edit any Genesis core files. If you want this on all your pages, just add a new file named page.php to your child theme folder and Genesis will use that instead of it's own.

    It should look like this:

    <?php
    add_action( 'genesis_after_post_title', 'my_page_info' );
    function my_page_info() {
    	
    	$post_info = '[post_date] ' . __( 'by', 'genesis' ) . ' [post_author_posts_link] [post_comments] [post_edit]';
    	printf( '<div class="post-info">%s</div>', do_shortcode( $post_info ) );
    }
    
    genesis();
    

    You could also use it in functions.php, but then you'd first have to check if you're on a page post-type.

    Actually you might want to see how Genesis uses the post-info function: look in genesis/lib/structure/post.php, at or around line 252

    June 23, 2013 at 6:12 am in reply to: Remove Google+ from profile settings #47284
    tibor
    Member

    Found it:


    /** Remove Google+ field from profile */
    remove_filter( 'user_contactmethods', 'genesis_user_contactmethods' );

    June 23, 2013 at 1:33 am in reply to: How do I add post info to pages? #47268
    tibor
    Member

    Since the genesis_post_info function does not run on pages, you would have to add it to the page first:

    Adding this to your page template (page.php) may do the trick:

    add_action( 'genesis_after_post_title', 'my_page_info' );
    function my_page_info() {
    	
    	$post_info = '[post_date] ' . __( 'by', 'genesis' ) . ' [post_author_posts_link] [post_comments] [post_edit]';
    	printf(  '<div class="post-info">%s</div>', do_shortcode( $post_info )  );
    }
    
    February 23, 2013 at 1:56 am in reply to: Remove Google+ from profile settings #22365
    tibor
    Member

    I have a client who would be very happy if there is an answer for this...anyone?

    February 8, 2013 at 10:08 am in reply to: Remove Google+ from profile settings #18942
    tibor
    Member

    Yep, I know 🙂 Question is how to do this in a Child Theme... I tried:

    remove_action('user_contactmethods', 'genesis_user_contactmethods');

    But that doesn't work.

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