WordPress.org

Support

Support » Plugins and Hacks » Eazyest Gallery – Suggestion

Eazyest Gallery – Suggestion

  • Hi, first of all congrats for the great plugin, secondly i hope you don’t mind me peeking at your code but i was trying to find a way to integrate Fullscreen Galleria with NextGen, and was getting a bit desperate, anyway, i found that Eazyest can do the organization part for me and is far easier to integrate.

    Since each folder in Eazyest Gallery is actually a post i changed you code in photobox_shortcode by adding an extra shortcode attribute (eazy) and rewriting the if cycle like this:

    if (!empty($eazy)) {
    		  $photos = &get_children(array('post_parent' => $eazy, 'post_status' => 'inherit',
    			  'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC',
    			  'orderby' => 'menu_order ID'));
    	} else {
    		if (!empty($include)) {
    		  $photos = &get_posts(array('post_type' => 'attachment',
    			  'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID',
    			  'include' => $include));
    		} else {
    		  $photos = &get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit',
    			  'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC',
    			  'orderby' => 'menu_order ID'));
    		}
    	}

    Everything else is untouched, and in this way i just put in the Eazyest folder (post) ID in it and it shows all pictures from that folder. Of course it will also work with any other post and could be a starting point for growing the interface.

    Cheers

    http://wordpress.org/extend/plugins/fullscreen-galleria/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Eazyest Gallery – Suggestion’ is closed to new replies.