• Resolved arturoperezn

    (@arturoperezn)


    Hi, The photo gallery plugin is excelente and i think there is only one feature i am missing, the thumbnail theme doesnt have the option to shuffle or make the images random, i know slide show theme has that but i need it on thumbnail theme.

    Is there anyway i can achieve this?
    What php file should i have to edit to achieve this?

    thank you!

    https://wordpress.org/plugins/photo-gallery/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor webdorado

    (@webdorado)

    Dear arturoperezn,

    This is possible to achieve by editing \photo-gallery\frontend\models\BWGModelThumbnails.php file and making changes in public function get_image_rows_data where the final result should look like the following:

    public function get_image_rows_data($id, $images_per_page, $sort_by, $bwg, $type, $sort_direction = ' ASC ') {
       global $wpdb;
       $sort_by = 'RAND()';

    Is there also a possibility to change this for each page. Or make a option in the tumbnail menu.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make Thumbnail theme random’ is closed to new replies.