Community Forums › Forums › Archived Forums › Design Tips and Tricks › eleven40 Pro: Featured Image
Tagged: Eleven40-Pro, featured image
- This topic has 12 replies, 2 voices, and was last updated 9 years, 8 months ago by faisal.
-
AuthorPosts
-
July 4, 2014 at 7:28 am #112957faisalMember
I have setup a demo site with eleven40 Pro. In the homepage, I added featured image to all posts. I have two questions.
1. Featured image is not visible for the most recent post ( the post at the top), even though I enabled it. The image is visible with the other posts.
2. I would like the text to start after the featured image ( text wrapped to the right with featured image aligned to left).
Any suggestions for the above two.
Faisal
http://www.test.telecomlighthouse.comJuly 4, 2014 at 8:21 am #112962Brad DaltonParticipantJuly 4, 2014 at 8:52 am #112966faisalMemberThanks,
If possible tell me further on detail of this code. Or else point me to a resource to explain this further.
regards,
Faisal
July 4, 2014 at 10:30 am #112971Brad DaltonParticipantWhat code did you use to add featured images to single posts?
For archives, you can change the alignment using the Genesis> Theme Settings.
July 7, 2014 at 12:35 am #113177faisalMemberI did not use any code for the featured images. why I am not able to see featured image in most recent blog, how can i enable it ?
July 7, 2014 at 12:46 am #113178Brad DaltonParticipantJuly 7, 2014 at 12:55 am #113180faisalMemberI have already dont this setting but still image not visible. here are my content archive settings under genesis
select of the following > display post content
limit content to > 0 character
include feature image ( chkd)
image alignment > left
select post navigation tehnique > NumericStill I can not see in the most recent blog but i only see it in old blogs
July 7, 2014 at 1:11 am #113183Brad DaltonParticipantThe setting only displays the image on archive pages and not single posts which require you to add code. http://wpsites.net/web-design/display-featured-image-before-or-after-entry-title-on-single-posts-pages/
July 7, 2014 at 1:44 am #113185faisalMemberThanks,
Before I attempt to use the code, is there a way that I display all posts on homepage as content archives. This might solve the issue as well, as I dont need to see featured images on single posts.
July 7, 2014 at 3:02 am #113188Brad DaltonParticipantJuly 7, 2014 at 3:16 am #113189faisalMemberthanks,
which code do I need to change. i am pasting the home code below
//* 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();July 7, 2014 at 3:41 am #113193Brad DaltonParticipantJuly 8, 2014 at 10:44 pm #113526faisalMemberthanks i made features=0 and I only see archives on homepage. However am still not able to have alignment of text the way I desire. just to give more explanation. i need my format of featured image and the text that follows to be similar to something as on the following website.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.