Support » Plugin: List category posts » Show an other thumbnail (video_thumbnail) instead of the featured_image

  • Resolved hugoatv



    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 :

  • but i want to have this :

  • <img src=”” />
  • 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 ‘Show an other thumbnail (video_thumbnail) instead of the featured_image’ is closed to new replies.