Support » Plugin: Flickr Justified Gallery » Sort option

  • Hi !
    I love your plugin, but I haven’t found a way to sort the photos as I want when I do a tag search (I use tag to make mini-albums of my trips), so I edit your code this way :

    else if ($action === 'tag') {
    		$photos = $f->photos_search(array(
    			'user_id' => $user_id,
    			'tags' => $tags,
    			'tag_mode' => $tags_mode,
    			'extras' => $extras,
    			'per_page' => $max_num_photos,
    		/*ADDED BY ME*/'sort' => 'date-taken-asc',
    			'page' => $page_num
    		));

    I think it could be a cool upgrade features to have a selector in the settings to choose how to sort the results.

    MJ

  • The topic ‘Sort option’ is closed to new replies.