The template query can only take one argument by default, so some of our themes will display a video (if one exists) in preference of the image so that the video is playable if the one column layout is used.

The Solution

This is now the default in Gigawatt if you are using oEmbed video links.

You can force the template to display featured images or oEmbed thumbnails by changing the image arguments.

This is a Mod

This is considered a modification, so do it at your own risk! Make a backup of your existing file so you can replace it if something goes wrong and you need to start over.  Modified files WILL probably be replaced by a theme update at some point so keep note of your changes for future reference or see our guides below. Please note that we cannot assist you with modifying your theme or support problems you encounter as a result!

If you are modifying a theme as part of a client project, the following are really important!

How to Modify Your Theme the Right Way

How to Track Update Changes and Maintain Modifications


  1. Go to Appearance Editor and click on portfolio-list.php
  2. Find the $args  line, which looks like this:
    $args  = array('postid' => $post->ID, 'width' => $width, 'height' => $height, 'hide_href' => false, 'exclude_video' => false, 'imglink' => false, 'imgnocontainer' => true, 'resizer' => $resize);
  3. Change the exclude_video argument to true:
    $args  = array('postid' => $post->ID, 'width' => $width, 'height' => $height, 'hide_href' => false, 'exclude_video' => true, 'imglink' => false, 'imgnocontainer' => true, 'resizer' => $resize);
  4. Click Update File when done

All portfolio posts with a video must be using oEmbed links to auto-generate a thumbnail, have a Featured Image attached, or be using self-hosted videos with Featured Images. Please note that you will NOT get a play button overlay when images are displayed unless you are using self-hosted videos.