Community Forums › Forums › Archived Forums › Design Tips and Tricks › Generate Theme Help!
Tagged: excerpts, generate theme, theme help
- This topic has 7 replies, 3 voices, and was last updated 11 years, 7 months ago by wptheme.
-
AuthorPosts
-
January 14, 2013 at 12:43 pm #11878pensfan6636Member
Hello,
I purchased the Generate theme, have it installed and have already done some modifications to it.
What I am having trouble with is how my post are showing up on the home page.
Here is my site http://www.brandenpierce.com
It is showing the first 2 as full post. I want the post too look exactly as it does in the demo: http://demo.studiopress.com/generate/
I want them as excerpts like that. Preferably automatically (dont want to have to inert a "Read More" short code each time)
How can I get this achieved?
The one thing different I want is to have the featured Image in the past as well.
Thanks in advance for your help!
-Branden
January 15, 2013 at 8:39 am #12041pensfan6636MemberAnyone able to help?
January 15, 2013 at 9:34 am #12052Jon BellahMemberYou're adding the image to the post itself, rather than using the "Featured Image" uploader. It should be on the right-hand side of your WordPress post dashboard. Upload your image there and set it as your featured image. WordPress/Genesis will take care of the rest.
As for how to display post excerpts, rather than full content. From your WordPress dashboard, go to: Genesis -> Theme Settings, scroll down to the "Content Archives" section. In the dropdown, select Display post excerpt.
That should do it.
Follow me on the Twitters at @JonBellah. I blog about web design, development and a lot about Genesis at CSSForge.com
January 15, 2013 at 10:16 am #12063pensfan6636MemberOkay, as far as the featured image I was using the featured image uploader, I just didnt have the correct sizes. As you can see now, this corrected for the regular size post (not grid).
As for the grid, if I add a 290x130 featured image, it looks correct on the home page, but obvioulsy is still 290x130 on the blog post. Is there a way to set it as the 610x170, but to auto shrink to 290x130 on the home page?
As far as the post excerpts. I has the option set in genesis setting and still not working. Also tried changing it to display post content and limit it to "x" number of characters and this did not work either.
I dont know if something is overriding these options somehow?
Thanks for your response btw
January 15, 2013 at 10:18 am #12064pensfan6636MemberFYI, as far as the shrinking the image for grid post, this isnt super importnt. I can live with how it is.
I just really want to get this post excerpt issue resolved.
Thanks
January 16, 2013 at 7:30 am #12264Jon BellahMemberGo back to Genesis -> Theme Settings, scroll down to the Content Archives section. In the dropdown, select Display Post Content, then below that, in the box labeled "Limit post to", insert the number of characters you want to limit your excerpt to.
Follow me on the Twitters at @JonBellah. I blog about web design, development and a lot about Genesis at CSSForge.com
January 16, 2013 at 10:32 am #12324pensfan6636MemberI mentioned that I already tried that and it still did not work. I tried setting the drop down to post excerpts and Display Post Content with a character limit. And it still shows the full content for the first 2 post.
Now.... I did a little rummaging in the code and found this:
/** Add support for Genesis Grid Loop **/
function child_grid_loop_helper() {if ( function_exists( 'genesis_grid_loop' ) ) {
remove_action( 'genesis_before_post_content', 'generate_post_image', 5 );
genesis_grid_loop( array(
'features' => 2,
'feature_image_size' => 'featured',
'feature_image_class' => 'alignleft post-image',
'feature_content_limit' => 0,
'grid_image_size' => 'grid',
'grid_image_class' => 'alignleft post-image',
'grid_content_limit' => 0,
'more' => __( 'Continue reading...', 'genesis' ),
'posts_per_page' => 6,
) );If I change the "feature_content_limit" line to say 200. The changes take affect on the home page.
The problem though is that I would like to keep the formatting of the post the same. I would like excerpts but the format to still show in that excerpt. When I change that line of code, it removes formatting for the excerpt on the home page.
You can see in the Generate theme demo, the formatting is still there in the excerpts on the home page (the bold letters)
Also, I would like to just have the setting work in theme settings. Strange that it isnt.
Thanks for your continued help 🙂
January 28, 2013 at 11:58 am #15591wpthemeMemberThis reply has been marked as private. -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.