Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter nhindi

    (@nhindi)

    Hi James,

    thanks…I tried to do what you told me but every time I updated the post nothing happen. probably i code it by mistake when trying to create the thumbnails to appear at the feed.
    now, i tried to find what shall i do in order to fix the problem…i copied this code:

    // Check if this is a post or page, if it has a thumbnail, and if it’s a big one
    if ( is_singular() && current_theme_supports( ‘post-thumbnails’ ) &&
    has_post_thumbnail( $post->ID ) &&
    ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘post-thumbnail’ ) ) &&
    $image[1] >= HEADER_IMAGE_WIDTH ) :
    // Houston, we have a new header image!
    //echo get_the_post_thumbnail( $post->ID );

    but apparently i did even worse ?? now i dont have picture at all.
    any recommendations?

    thanks
    nir

    Thread Starter nhindi

    (@nhindi)

    Hi James,

    did as you said..that the link i could see
    https://nirhindi.com/?attachment_id=1257

    Thread Starter nhindi

    (@nhindi)

    Hi James,

    Thanks for the reply.
    I still have the problem. I tried different browsers as well and the picture that exist in the post appear in the header. I took e a screenshot but i dont see exactly where and if i can attach it here.

    Regarding the pictures in the feed, I didn’t explain myself perfectly…
    I dont want the whole post to appear but rather a summary..my question is can I make the feed take the picture from the post even though the feed is defined for summary appearance?

    Thanks
    Nir

Viewing 3 replies - 1 through 3 (of 3 total)