WordPress: Change Contus Video Gallery Player To Recent Video

Contus Video Gallery is a super-awesome video gallery plugin for wordpress. Read more here.

By default, Contus video gallery will show recent featured video in homepage video player. Instead of recent featured video, we will change it to the most recent video from all categories. (The most recent upload video)

To show the latest video in the home page player, go to file path ../wp-content/plugins/contus-video-gallery/front/models/videohome.php

In this file finds the function get_featuredvideodata() and find the below query

and replace with the below query

documenting to blog post from original source