Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    If you change the ID, then you need to edit the videos and change the category. To change the order of the video in category page, open \wp-content\plugins\contus-video-gallery\front\models\videomore.php file and find public function home_catthumbdata. Inside the function you can find ORDER BY ‘.$default_order.’ LIMIT. Now replace the code with the following code and check.

    ORDER BY w.name ASC LIMIT

    Hi How do i change the order of video in the category to list/show by the most recent uploaded video?

    Hi,

    To change the order of the video in category page, go to admin -> Video Gallery -> Settings -> find ‘Videos Order’. Now change it to ‘Recent’ and check. Please note this option is only available for Featured and Category videos.

    Thanks that ordered the videos on the actual category page … which is good
    But where i have used the shortcode “[hdvideo playlistid=9]” the videos are not are not ordered. infact the video displayed in the main player view is the oldest one i uploaded not the most recent. i would rather have the most recent video showed/display in the player view.
    thanks

    Hi,

    Open \wp-content\plugins\contus-video-gallery\front\models\videohome.php file and find public function video_pid_detail($pid, $type,$number_related_video). Inside the function you can find ORDER BY w.vid ASC. Now replace the code with the following code and check.

    ORDER BY w.vid DESC

    That worked a treat!
    thanks much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Edit id parameter?’ is closed to new replies.