Focus home page — how to customize?

Community Forums Forums General Discussion Focus home page — how to customize?

This topic is: not resolved

This topic contains 10 replies, has 3 voices, and was last updated by  hannab 1 year, 5 months ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #25667

    hannab
    Participant
    Post count: 20

    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.

    #25676

    wp guy
    Participant
    Post count: 227

    Two 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.”

    #25678

    hannab
    Participant
    Post count: 20

    Hi,

    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.

    #25681

    wp guy
    Participant
    Post count: 227

    Fresh 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?

    http://wordpress.org/extend/plugins/ultimate-posts-widget/

    #25687

    Bill Murray
    Participant
    Post count: 575

    Focus 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.

    #25696

    hannab
    Participant
    Post count: 20

    Thanks,

    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.

    #25702

    Bill Murray
    Participant
    Post count: 575

    The 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.

    #25705

    hannab
    Participant
    Post count: 20

    Believe 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.

    #25709

    Bill Murray
    Participant
    Post count: 575

    Your 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.

    #25731

    hannab
    Participant
    Post count: 20

    Here’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.

    #25756

    hannab
    Participant
    Post count: 20

    Update, 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.

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

You must be logged in to reply to this topic.