Community Forums › Forums › Archived Forums › General Discussion › Static page and blog roll needs tweaking
- This topic has 1 reply, 1 voice, and was last updated 10 years, 3 months ago by
nate.
-
AuthorPosts
-
November 16, 2014 at 6:06 pm #131786
nate
MemberHi there
I have successfully managed to get my front page to be have static content followed by a blogroll thanks to the help of genwrock and the page template here http://genesisdeveloper.me/full-width-page-content-with-blog-posts/
It's almost there but just want a couple of tweaks to make the formatting of the blog excerpts to look cleaner.
Here is my front page http://snowboardingprofiles.com/ and here is how I'd prefer those blog excerpts to look (scroll down until you get to the excerpts) http://snowboardingprofiles.com/blog
Or at least have the excerpts on the front page showing the titles of the posts.
Not sure why they look different as I thought that the page template is just calling the same blogroll that is being called by the theme on the "your latest posts" blogroll. I don't understand the code well enough.
Not sure if this is an easy fix or not but any help/advice very much appreciated (even if it's just to say whether this should be an easy fix or not).
Sincerely,
http://snowboardingprofiles.com/
NathanNovember 21, 2014 at 10:09 pm #132468nate
MemberBelow is the home.php in my theme (Eleven40 Theme). I assume that this is what instructs the theme's blogroll when home page is set to “Your Latest Posts” in Settings>>Reading? How this looks is here http://snowboardingprofiles.com/blog for my site.
<?php //* Add Genesis grid loop remove_action( 'genesis_loop', 'genesis_do_loop' ); add_action( 'genesis_loop', 'eleven40_grid_loop_helper' ); function eleven40_grid_loop_helper() { 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-featured', 'grid_image_class' => 'grid-featured', 'grid_content_limit' => 250, 'more' => __( '[Continue reading]', 'eleven40' ), ) ); } else { genesis_standard_loop(); } } //* Run the Genesis loop genesis();
In order to get the posts in the new page template (http://genesisdeveloper.me/full-width-page-content-with-blog-posts/) to look like the ones in the grid on http://snowboardingprofiles.com/blog I have experimented with inserting some of the above code into the custom page template. However, I am not good with code and it was a bit haphazard to say the least! I got it to do some different things but not things that I was trying to achieve.
If anyone knows how I can get the blog posts to show in the grids like they do on http://snowboardingprofiles.com/blog on my home page here http://snowboardingprofiles.com/ using http://genesisdeveloper.me/full-width-page-content-with-blog-posts/ that would be super awesome!
Sincerely,
Nate -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.