• 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

Eleven40 – control length / setup of homepage and post previews

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 › Eleven40 – control length / setup of homepage and post previews

This topic is: resolved

Tagged: blog, Eleven40, homepage, post preview length

  • This topic has 11 replies, 2 voices, and was last updated 10 years ago by MM.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • January 28, 2013 at 2:42 pm #15687
    MM
    Member

    I'm trying to control the length of text (and hopefully pictures) show on my homepage and post page.

    Currently:

    - the Homepage displays: the full length of the latest posts, then 4 short posts in a 2 column x 2 row format.

    - the Blog page (which pulls posts also) displays the 5 latest posts with big header and 1.5 short line sentences

    I'd like to control how both of these pages display. eg. images used or not, number of posts, length of previews

    Any instructions would be helpful - thanks!

     

    January 28, 2013 at 3:06 pm #15706
    Anita
    Keymaster

    Please provide a link to your website.


    Love coffee, chocolate and my Bella!

    January 29, 2013 at 3:28 pm #16132
    MM
    Member
    This reply has been marked as private.
    January 29, 2013 at 4:11 pm #16150
    Anita
    Keymaster

    Open up your Home.php file and look for this:

    	if ( function_exists( 'genesis_grid_loop' ) ) {
    		genesis_grid_loop( array(
    			'features' 			=> 1,
    			'feature_image_size' 		=> 0,
    			'feature_image_class' 		=> 'alignleft post-image',
    			'feature_content_limit' 	=> 0,
    			'grid_image_size'		=> 'grid-thumbnail',
    			'grid_image_class'		=> 'alignnone',
    			'grid_content_limit' 		=> 250,
    			'more' => __( '[Continue reading]', 'genesis' ),
    		) );

    Change the feature content limit to whatever number you want.


    Love coffee, chocolate and my Bella!

    January 29, 2013 at 4:14 pm #16155
    Anita
    Keymaster

    For the Blog control and limits - go to Genesis > Settings and scroll down to Blog Page Template. This is where you can control the number of posts on the blog page.


    Love coffee, chocolate and my Bella!

    January 29, 2013 at 4:18 pm #16160
    Anita
    Keymaster

    By the way, I think you would do yourself justice to use the Jetpack plugin for your site. I love it and it has a ton of other plugins built right in. I especially like the Share buttons. I really don't like Share This and you cannot put the buttons at the top of the blog, but you can using Jetpack.


    Love coffee, chocolate and my Bella!

    January 29, 2013 at 4:59 pm #16180
    MM
    Member

    Thks Anitac.

    1) The Home.php change removes the posts image, even with a high featured content limit say 800. Any ideas how to ensure it's placed?

    2) Where can I change [Continue reading]  to   read more

    3) On the Grid section (eg. 4 posts under main one on home page), any way to default to post title and square preview image

    4) How can I created a slider on centre homepage section which rotates title and image (and maybe some sentences)?

    Thks - searched for all answers but can't find them! Cheers, M

    January 29, 2013 at 5:26 pm #16192
    Anita
    Keymaster

    In the feature image size - if you want an image to be aligned left, right or none - set that in the class. For instance set your image to about 580px wide from 0 - 0 means to leave image off then add alignnone so the image is aligned over the text at the top of the post.

    If you only want an image and post title and no content - set the grid content limit to to - 0.

    To change the Continue Reading - look at the last line that says "more" you will see Continue Reading in brackets - change it there.

    To add the slider - do one of these -

    If you want the slider to above the post content (the middle only) - follow these instructions - http://www.briangardner.com/home-widget-area-eleven40/.

    If you want a large full width slider above the three columns - follow these instructions - http://www.briangardner.com/welcome-text-widget/


    Love coffee, chocolate and my Bella!

    January 29, 2013 at 6:51 pm #16222
    Anita
    Keymaster
    This reply has been marked as private.
    January 29, 2013 at 7:34 pm #16231
    MM
    Member

    Argh! No idea what happened. Was following the instructions and then it crashed. Parse errors and more.
    Have re-installed the site via a backup.
    BUT now the responsive design look is gone (it looks stretched) and no footer exists?
    Any step by step instructions are greatly appreciated!

    January 29, 2013 at 7:44 pm #16235
    Anita
    Keymaster
    This reply has been marked as private.
    March 12, 2013 at 5:26 am #25628
    MM
    Member

    Hi Anyone or Anita,

    On mikemetcalfe.co, I've customised post previews on home.php as per http://mikemetcalfe.co

    But I want previews on category pages (Eg. http://mikemetcalfe.co/category/tools-hints-tips/) and page 2, 3 etc (eg. http://mikemetcalfe.co/page/2/) exactly the same as home.

    I couldn't see in home.php or functions.php how to customise this? Any advice out there? Thks!

     

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