[Solved] How to increase videos on home page

edited July 2016 in Customizations

How can one add - increase the recent videos in home page!


  • Yes, copy the code from controllers/index.php that makes the query into your theme file and change the result limit to whatever number you want.

    Do not modify controllers/index.php because your changes will be lost during updates.
  • Hello

    You mean to change the number that is in this piece of code:

    $query = "SELECT video_id FROM " . DB_PREFIX . "videos WHERE status = 'approved' AND private = '0' ORDER BY video_id DESC LIMIT 6";
  • Okay!

    That's great! I guess case closed!
This discussion has been closed.