Community Forums › Forums › Archived Forums › Design Tips and Tricks › Eleven40 – control length / setup of homepage and post previews
Tagged: blog, Eleven40, homepage, post preview length
- This topic has 11 replies, 2 voices, and was last updated 11 years, 10 months ago by MM.
-
AuthorPosts
-
January 28, 2013 at 2:42 pm #15687MMMember
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 #15706AnitaCKeymasterPlease provide a link to your website.
Need help with customization or troubleshooting? Reach out to me.
January 29, 2013 at 3:28 pm #16132MMMemberThis reply has been marked as private.January 29, 2013 at 4:11 pm #16150AnitaCKeymasterOpen 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.
Need help with customization or troubleshooting? Reach out to me.
January 29, 2013 at 4:14 pm #16155AnitaCKeymasterFor 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.
Need help with customization or troubleshooting? Reach out to me.
January 29, 2013 at 4:18 pm #16160AnitaCKeymasterBy 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.
Need help with customization or troubleshooting? Reach out to me.
January 29, 2013 at 4:59 pm #16180MMMemberThks 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 #16192AnitaCKeymasterIn 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/
Need help with customization or troubleshooting? Reach out to me.
January 29, 2013 at 6:51 pm #16222AnitaCKeymasterThis reply has been marked as private.January 29, 2013 at 7:34 pm #16231MMMemberArgh! 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 #16235AnitaCKeymasterThis reply has been marked as private.March 12, 2013 at 5:26 am #25628MMMemberHi 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!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.