Eleven40 – control length / setup of homepage and post previews

Community Forums Forums Design Tips and Tricks Eleven40 – control length / setup of homepage and post previews

This topic is: resolved

This topic contains 11 replies, has 2 voices, and was last updated by  MM 1 year, 8 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #15687

    MM
    Participant
    Post count: 128

    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!

     

    #15706

    AC
    Blocked
    Post count: 7712

    Please provide a link to your website.

    #16132

    MM
    Participant
    Post count: 128
    This reply has been marked as private.
    #16150

    AC
    Blocked
    Post count: 7712

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

    [php] 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’ ),
    ) );[/php]

    Change the feature content limit to whatever number you want.

    #16155

    AC
    Blocked
    Post count: 7712

    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.

    #16160

    AC
    Blocked
    Post count: 7712

    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.

    #16180

    MM
    Participant
    Post count: 128

    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

    #16192

    AC
    Blocked
    Post count: 7712

    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/

    #16222

    AC
    Blocked
    Post count: 7712
    This reply has been marked as private.
    #16231

    MM
    Participant
    Post count: 128

    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!

    #16235

    AC
    Blocked
    Post count: 7712
    This reply has been marked as private.
    #25628

    MM
    Participant
    Post count: 128

    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!

     

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.