Metric Home Page Tweak

Community Forums Forums General Discussion Metric Home Page Tweak

This topic is: not resolved

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

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #15774

    mexiken
    Participant
    Post count: 12

    Hi,

    I saw this post about tweaking the home page on Metric that almost got what I was asked for, but not quite.  So I’m hoping you can help me with this variation request on the theme….

    I did what was suggested in the above mentioned post, but I was hoping to be able to keep the top part of the default look, with the photo and the excerpt.  Then, below that, would have the rolling list of most recent posts, either in their entirety or with the <more> tag.

    Is this possible to do for a barely above novice coder like me???

    Thanks in advance for any help. :)

    #15792

    Bill Murray
    Participant
    Post count: 575

    The Metric theme uses home.php. The instructions you linked to are designed to use an internal page for a home page, which isn’t really what you are trying to do.

    For your needs, you would be better to a) restore the original home.php and edit it to suit your needs b) add widget areas or adjust the styling of existing widgets.

    For (b), Metric already has home middle widgets. You could put recent posts in a widget area. If you want that area to be full width, all you need to do is adjust the styling of the home middle widgets (ie, make the home middle widget 1 full width and float left).

    Hope that helps.


    Web: https://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

    #15794

    SoZo
    Moderator
    Post count: 1573

    Do you want it to look like the internal pages or do you want to keep the top blue and then have the posts in the white where the three bottom widgets are located?


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #15795

    mexiken
    Participant
    Post count: 12

    Thank you Bill, that makes sense (mostly!)  I’ll give it a shot and see if I can achieve what I’m trying to do that way.

    thanks again.

    #15796

    SoZo
    Moderator
    Post count: 1573

    If you go the widget route for the posts you can use the Featured Widget Amplified plugin in lieu of the featured post widget if you want pagination.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #15798

    mexiken
    Participant
    Post count: 12

    SoZo,

    Basically, a combination of the two (I think).

    I would like to keep the top blue area with the image and the excerpt, but then below that be able to have full posts (or excerpts controlled with the <more> tag).

    #15799

    mexiken
    Participant
    Post count: 12

    you can use the Featured Widget Amplified plugin in lieu of the featured post widget

    not familiar with that, but I’ll have a look.  Thank you!

    #15806

    mexiken
    Participant
    Post count: 12

    OK, I’m almost there… another question now – is there a way to add the sidebar next to the content that is below the blue header homepage area?  Basically so that it looks like an inner page that has the full blue header with image and snippet above (hopefully that makes sense)

    Thanks folks! :)

    #15807

    SoZo
    Moderator
    Post count: 1573

    That depends on what route you took. If you want the sidebar then the easiest approach would be to move the home-top-bg div and it’s contents into a function in functions.php using the after header hook and a front page condition and delete home.php altogether, e.g.
    [php]
    add_action(‘genesis_after_header’, ‘home_top’);
    function home_top() {
    if ( is_front_page()) { ?>
    THE DIVS YOU WANT FROM HOME.PHP GO HERE
    <? }}[/php]


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #15809

    mexiken
    Participant
    Post count: 12

    whoa.

    If that’s the easiest route then… I may just have to go without a sidebar! lol

    That’s Greek to me, but I’ll dig in and see if I can sort it out.

    Thanks so much for your time and help.

     

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

You must be logged in to reply to this topic.