• 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

Post titles in Mindstream?

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 › Post titles in Mindstream?

This topic is: resolved
  • This topic has 8 replies, 5 voices, and was last updated 10 years ago by WMcKinley.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • March 17, 2013 at 5:40 am #28522
    enmaku
    Member

    I really like the Mindstream theme but I'm not in love with the fact that post titles aren't displayed in the timeline or in posts themselves. Is there an easy (functions.php or easier) way to put them back in?

    March 17, 2013 at 5:45 am #28524
    Pinky
    Member

    You should be able to find what you need here:

    http://my.studiopress.com/snippets/


    cheers

    Pinky

    March 17, 2013 at 5:48 am #28525
    enmaku
    Member

    Not finding anything about post titles Pinky. Page titles, post authorboxes etc are all there, and google shows me how to *remove* the title from posts but not how to put it back when someone else has already removed it...

    March 17, 2013 at 6:16 am #28527
    Pinky
    Member

    Ah soz about that.... try this then:

    In the functions.php file remove this - obviously take a backup copy first!...

    add_action( 'genesis_before_post', 'mindstream_remove_elements' );
    /**
     * If post has post format, remove the title, post info, and post meta.
     * If post does not have post format, then it is a default post. Add
     * title, post info, and post meta back.
     *
     * @since 1.0
     */
    function mindstream_remove_elements() {
    	
    	// Remove if post has format
    	if ( get_post_format() ) {
    		remove_action( 'genesis_post_title', 'genesis_do_post_title' );
    		remove_action( 'genesis_before_post_content', 'genesis_post_info' );
    		remove_action( 'genesis_after_post_content', 'genesis_post_meta' );
    	}
    	// Add back, as post has no format
    	else {
    		add_action( 'genesis_post_title', 'genesis_do_post_title' );
    		add_action( 'genesis_before_post_content', 'genesis_post_info' );
    		add_action( 'genesis_after_post_content', 'genesis_post_meta' );
    	}
    	
    }
    

    cheers

    Pinky

    March 17, 2013 at 6:24 am #28529
    enmaku
    Member

    That appears to have done the trick  - well, after I noticed that I'd missed deleting the add_action line along with the rest of it anyway 😉

    Thanks!

    March 17, 2013 at 6:29 am #28530
    Pinky
    Member

    no worries Mate... glad I could help!


    cheers

    Pinky

    March 19, 2013 at 2:43 pm #29487
    rb5235
    Member

    Hi Pinky,

    I to wanted the post titles back and found that what you pointed out above to remove in the functions.php file worked fine.

    Now I would like to make the title font a little smaller it is displaying as a H1. Could you point me it the right direction to set it to a H2 or H3.

    http://www.ronaldbigbie.com

    Thanks for any help!

    March 19, 2013 at 7:28 pm #29547
    macarena61
    Member

    Hi Pinky,

    Just as rb5235, I also want to reduce the font title as it is very large compared to the rest of the layout. I had thought it was the

    #title {
        font-size: 42px;
        font-size: 2.625rem;

    }

    and reduced it to 28px and 1.75rem

    I also reduced the

    h1,
    .entry-title,
    .entry-title a {
        font-size: 36px;
        font-size: 2.25rem;
    }

    to: font-size: 20px;
        font-size: 1.25rem;

    but that didn't work either... could you kindly point us in the right direction? Thank you, much appreciated!

    March 19, 2013 at 7:34 pm #29551
    WMcKinley
    Member

    Hi,
    On line 591 of your style.css I changed the font size from 48px to 36px and it worked fine.

    Everyone should be using FireBug!


    W. McKinley – PowerEmini.com

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

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