Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2802

    I removed code from single.php file like was advised in previous thread, but I still can not get rid of featured images in single posts.

    the web site is solomiamurphy.com

    Please, help!

    #39361

    Just remove following code from single.php:

    $prev_image_link = get_post_meta($post->ID, "_prev_image_link", true);

    if($prev_image_link == 'none' || $prev_image_link == 'lightbox')
    {
    $prev_image_link = array($prev_image_link);
    }
    else
    {
    $prev_image_link = '_external';
    }

    if(!$gallerypage) $prev_image_link = array('lightbox');

    //get preview image
    $big_prev_image = kriesi_post_thumb($post->ID, array('size'=> array('L'),
    'wh' => $k_option['custom']['imgSize']['L'],
    'display_link' => $prev_image_link,
    'linkurl' => array ('XL','_preview_big')
    ));

    echo $big_prev_image;

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

The topic ‘removing featured image from single’ is closed to new replies.