• 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

How to show excerpts of Posts on homepage in Focus Pro Theme

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 › How to show excerpts of Posts on homepage in Focus Pro Theme

This topic is: not resolved

Tagged: continue reading, Focus Pro Theme, homepage, read more

  • This topic has 7 replies, 3 voices, and was last updated 11 years, 8 months ago by Salman.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • August 19, 2014 at 4:01 pm #119879
    Salman
    Member

    Hello Everyone,

    I'm currently using Focus Pro Theme for my new blog http://www.salmaniac.com and everything's come out pretty well according to me. It's still under development and I haven't shared it with anyone else. Waiting to iron out a few kinks and add more content. I've written just two posts currently.

    I'm not able to figure one thing out: the theme shows the entire post on the homepage. I don't want that. An excerpt of a few lines would do, with 'Read More' or 'Continue Reading' link that takes a user to the post's webpage.

    Any idea how I can do that? I see that other themes in Genesis have that functionality. Beautiful Pro theme is one example of that.

    http://www.salmaniac.com
    August 19, 2014 at 4:37 pm #119883
    jodzeee
    Member

    Try this tutorial from Brad Dalton:

    Set Post & Content Limits For Home, Blog & Archive Pages

    August 21, 2014 at 12:16 am #120128
    Salman
    Member

    Can't access the page. It says:

    Sorry but this content is not available in your country at the moment.

    Weird.

    August 21, 2014 at 12:38 am #120129
    Genesis Developer
    Member

    go to Genesis->Theme Option page and scroll down little bit. there have content archives section and choose the excerpt option from drop down. You'll get your desired result.


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 21, 2014 at 12:46 am #120130
    Salman
    Member

    That works only for archive pages (categories and tags) and not the homepage. I want to modify the homepage.

    August 21, 2014 at 12:57 am #120131
    Salman
    Member

    From what I understand through googling, I must make changes to the front_page.php of my child theme (i.e. Focus Pro).

    Here's what the code on my fornt_page.php looks like:

    <?php
    /**
     * This file adds the Home Page to the Focus Pro Theme.
     *
     * @author StudioPress
     * @package Focus Pro
     * @subpackage Customizations
     */
     
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'focus_grid_loop_helper' );
    
    //* Add support for Genesis Grid Loop
    function focus_grid_loop_helper() {
    
    	if ( function_exists( 'genesis_grid_loop' ) ) {
    		remove_action( 'genesis_after_post_content', 'genesis_post_meta' );
    		genesis_grid_loop( array(
    			'features'              => 2,
    			'feature_image_size'    => 0,
    			'feature_content_limit' => 0,
    			'grid_image_size'		=> 'home-grid-thumbnail',
    			'grid_image_class'		=> 'alignnone',
    			'grid_content_limit' 	=> 250,
    			'more' 					=> __( '[Continue reading]', 'focus' ),
    		) );
    	}
    
    	else {
    		genesis_standard_loop();
    	}
    
    }
    
    genesis();
    

    While I can make out what some of the code implies, I don't want to randomly play around with it. Can anyone please suggest what I should change in the code so that the homepage shows only a full width feature image and post excerpt, with Continue Reading link after it?

    August 21, 2014 at 3:02 am #120155
    Genesis Developer
    Member

    change
    `genesis_grid_loop( array(
    'features' => 2,
    'feature_image_size' => 0,
    'feature_content_limit' => 0,
    'grid_image_size' => 'home-grid-thumbnail',
    'grid_image_class' => 'alignnone',
    'grid_content_limit' => 250,
    'more' => __( '[Continue reading]', 'focus' ),
    ) );`
    by
    `genesis_grid_loop( array(
    'features' => 2,
    'feature_image_size' => 'full',
    'feature_content_limit' => 250,
    'grid_image_size' => 'home-grid-thumbnail',
    'grid_image_class' => 'alignnone',
    'grid_content_limit' => 250,
    'more' => __( '[Continue reading]', 'focus' ),
    ) );`


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 24, 2014 at 4:01 am #120743
    Salman
    Member

    @genwrock Thank a lot. That worked. I made a few modifications to the character limit though.

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

© 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