Community Forums › Forums › Archived Forums › General Discussion › Metric Home Page Tweak
Tagged: Metric home page
- This topic has 9 replies, 3 voices, and was last updated 11 years, 8 months ago by mexiken.
-
AuthorPosts
-
January 28, 2013 at 5:05 pm #15774mexikenMember
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. 🙂
January 28, 2013 at 5:26 pm #15792Bill MurrayMemberThe 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.
January 28, 2013 at 5:28 pm #15794SoZoMemberDo 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
January 28, 2013 at 5:28 pm #15795mexikenMemberThank 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.
January 28, 2013 at 5:30 pm #15796SoZoMemberIf 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
January 28, 2013 at 5:31 pm #15798mexikenMemberSoZo,
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).
January 28, 2013 at 5:32 pm #15799mexikenMemberyou 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!
January 28, 2013 at 5:56 pm #15806mexikenMemberOK, 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! 🙂
January 28, 2013 at 6:02 pm #15807SoZoMemberThat 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.
add_action('genesis_after_header', 'home_top'); function home_top() { if ( is_front_page()) { ?> THE DIVS YOU WANT FROM HOME.PHP GO HERE <? }}
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
January 28, 2013 at 6:05 pm #15809mexikenMemberwhoa.
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.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.