WordPress.org

Forums

WORDPRESS VIDEO GALLERY
Arranging the videos (2 posts)

  1. madskills
    Member
    Posted 12 months ago #

    I am having a issue where the newer video get placed to the bottom of the playlist and I cannot get them to the top of the playlist. basically i would like to have the newer uploads to the top.

    https://wordpress.org/plugins/contus-video-gallery/

  2. karthikeyani
    Member
    Posted 11 months ago #

    Hi,

    To display videos from new to old in playlist page, open \wp-content\plugins\contus-video-gallery\front\models\videomore.php and find public function home_catthumbdata. Inside the function you can find the below code.

    ORDER BY w.ordering asc

    now replace with

    ORDER BY w.vid DESC

    To display videos from new to old in video home page, open \wp-content\plugins\contus-video-gallery\front\views\videohome.php and find function categoryList($CountOFVideos, $TypeOFvideos, $pagenum, $dataLimit, $category_page). Inside the function you can find the below code.

    ORDER BY p.playlist_order ASC

    Now replace with the following code.

    ORDER BY w.vid DESC

Reply

You must log in to post.

About this Plugin

  • WORDPRESS VIDEO GALLERY
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.