eleven40 Pro: Featured Image

Community Forums Forums Design Tips and Tricks eleven40 Pro: Featured Image

This topic is: not resolved

This topic contains 12 replies, has 2 voices, and was last updated by  faisal 2 months, 2 weeks ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #112957

    faisal
    Participant
    Post count: 30

    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.com
    #112962

    braddalton
    Participant
    Post count: 9786

    Add the alignleft class to the code.


    #112966

    faisal
    Participant
    Post count: 30

    Thanks,

    If possible tell me further on detail of this code. Or else point me to a resource to explain this further.

    regards,

    Faisal

    #112971

    braddalton
    Participant
    Post count: 9786

    What code did you use to add featured images to single posts?

    For archives, you can change the alignment using the Genesis> Theme Settings.


    #113177

    faisal
    Participant
    Post count: 30

    I 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 ?

    #113178

    braddalton
    Participant
    Post count: 9786

    Go to Genesis > Theme Settings > Content Archives.


    #113180

    faisal
    Participant
    Post count: 30

    I 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 > Numeric

    Still I can not see in the most recent blog but i only see it in old blogs

    #113183

    braddalton
    Participant
    Post count: 9786

    The 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/


    #113185

    faisal
    Participant
    Post count: 30

    Thanks,

    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.

    #113188

    braddalton
    Participant
    Post count: 9786

    You’ll find the settings in your child themes home.php file.


    #113189

    faisal
    Participant
    Post count: 30

    thanks,

    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();

    #113193

    braddalton
    Participant
    Post count: 9786

    ‘features’ => 1,


    #113526

    faisal
    Participant
    Post count: 30

    thanks 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.

    http://www.ciena.com/connect/blog/

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

You must be logged in to reply to this topic.