Support » Plugins and Hacks » List category posts » [Resolved] Show an other thumbnail (video_thumbnail) instead of the featured_image

[Resolved] Show an other thumbnail (video_thumbnail) instead of the featured_image

  • Hi,

    i use 2 pictures on each post of my WP Videos Blog (the featured for the post and the video_thumbnail).

    in my homepage for example i use this functioh to show the video_thumbnail :

    if( ( $video_thumbnail = get_video_thumbnail() ) != null ) {
    echo "<img src='" . $video_thumbnail . "' class='attachment-post-thumbnail wp-post-image' />"; }

    i use “list_category_post” plugin in the posts but i would only show the video_thumbnail instead of the featured_image but it doesn’t works…

    When i change in “Catlist.php” :

    $lcp_thumbnail .= get_the_post_thumbnail(

    by :

    $lcp_thumbnail .= get_video_thumbnail(

    i have as result not the picture but her file name :

  • http://www.mywebtv.tv/wp-content/uploads/2013/03/mypicture-video.jpg
  • but i want to have this :

  • <img src=”http://www.mywebtv.tv/wp-content/uploads/2013/03/mypicture-video.jpg” />
  • i don’t know how to get the picture instead of her name, i have try with echo but each time i have syntax errors.

    can anybody help me ? 🙂



  • The topic ‘[Resolved] Show an other thumbnail (video_thumbnail) instead of the featured_image’ is closed to new replies.
Skip to toolbar