Community Forums › Forums › Archived Forums › General Discussion › Focus home page — how to customize?
- This topic has 10 replies, 3 voices, and was last updated 11 years ago by hannab.
-
AuthorPosts
-
March 12, 2013 at 11:19 am #25667hannabMember
Hi, on this site: http://theexpertresource.com/
I'm using the Focus Theme for the first time. I'm not finding how to set how much to show of each post on the home page. It's not in Widgets like I'm used to. Please help me. I don't want the entire post to show, I want like the theme demo where there's content limit then "read more".
Thanks,
Hanna in Tahoe
If you’re not living on the edge, you’re taking up too much space.
March 12, 2013 at 11:58 am #25676wp guyMemberTwo things to try:
1) Click Genesis and under "content archives" you can put in a character limit
2) In your themes "Settings" - "Reading" click "Summary."
March 12, 2013 at 12:09 pm #25678hannabMemberHi,
Done both steps suggested above. Content is still in full on home page. Any other ideas?
Thanks,
Hanna in Tahoe
If you’re not living on the edge, you’re taking up too much space.
March 12, 2013 at 12:21 pm #25681wp guyMemberFresh out of ideas. Sorry. Which widget are you using? Latest posts? How about just installing a better widget that will allow you to limit the characters?
March 12, 2013 at 12:48 pm #25687Bill MurrayMemberFocus uses the grid loop. To adjust your home page settings, you'll have to edit home.php in your child theme directory. wp_guy's suggestion was a good guess, but it wouldn't have any impact on the hard-coded grid loop settings in home.php.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
March 12, 2013 at 1:48 pm #25696hannabMemberThanks,
where can I find info on how to edit the home.php page to make it look like the demo site? I'm not a programmer so I hope it's simple.
//Hanna in Tahoe
If you’re not living on the edge, you’re taking up too much space.
March 12, 2013 at 2:07 pm #25702Bill MurrayMemberThe easiest and most customizable way is to insert a more tag at the point in your content where you want a break. That will save you from editing code and running the risk of breaking your site.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
March 12, 2013 at 2:12 pm #25705hannabMemberBelieve it or not, but I figured out how to edit the home.php to limit the content. So here's my next question — how do I set which content shows in the "features" area respective the "grid" area. And how do I set the "grid" area to only show 4 posts? I tried editing the show posts-per-page from 6 to 4 in home.php but that didn't change anything.
Making some progress here! Thanks Bill.
//Hanna in Tahoe
If you’re not living on the edge, you’re taking up too much space.
March 12, 2013 at 2:31 pm #25709Bill MurrayMemberYour featured posts are your 2 most recent posts.
Can you post the contents of your home.php to a pastebin and post a link here?
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
March 12, 2013 at 3:53 pm #25731hannabMemberHere's what I currently have (after my tweaks to make it look the way it does right now):
<?php
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' ) ) {
genesis_grid_loop( array(
'features' => 2,
'feature_image_size' => 0,
'feature_content_limit' => 700,
'grid_image_size' => 0,
'grid_image_class' => 'alignnone',
'grid_content_limit' => 250,
'more' => __( '[Continue reading]', 'genesis' ),
'posts_per_page' => 6,
) );
} else {
genesis_standard_loop();
}}
genesis();
If you’re not living on the edge, you’re taking up too much space.
March 12, 2013 at 6:04 pm #25756hannabMemberUpdate, the client saw what's there now and he doesn't want any of the 1/2-width post to show. He want his home page to have the exact same structure as the theme demo found here: http://demo.studiopress.com/focus/layouts/cs/
With all full width posts and a sidebar. No 1/2-width posts at all.
How do I do that?
Thanks,
Hanna in Tahoe
If you’re not living on the edge, you’re taking up too much space.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.