echo $sunshine->options['columns'];
            ?>
">
				<?php 
            while ($child_galleries->have_posts()) {
                $child_galleries->the_post();
                ?>
					<li class="<?php 
                sunshine_gallery_class();
                ?>
">
						<a href="<?php 
                the_permalink();
                ?>
"><?php 
                sunshine_featured_image();
                ?>
</a><h2><a href="<?php 
                the_permalink();
                ?>
"><?php 
                the_title();
                ?>
</a></h2>
					</li>
				<?php 
            }
            ?>
	
				</ul>
				</div>
    function head()
    {
        global $post, $sunshine;
        // Image page
        if (!empty(self::$current_image)) {
            $image = wp_get_attachment_image_src(self::$current_image->ID, 'sunshine-thumbnail');
            echo '<meta property="og:title" content="' . self::$current_image->post_title . ' by ' . get_bloginfo('name') . '"/>
		    <meta property="og:type" content="product"/>
		    <meta property="og:url" content="' . trailingslashit(get_permalink(self::$current_image->ID)) . '"/>
		    <meta property="og:image" content="' . $image[0] . '"/>
		    <meta property="og:image:width" content="' . $image[1] . '"/>
		    <meta property="og:image:height" content="' . $image[2] . '"/>
		    <meta property="og:site_name" content="' . get_bloginfo('name') . '"/>
		    <meta property="og:description" content="' . sprintf(__('A photo from the gallery %s by %s', 'sunshine'), strip_tags(get_the_title(self::$current_image->post_parent)), get_bloginfo('name')) . '"/>';
        } elseif (!empty(self::$current_gallery)) {
            $image = sunshine_featured_image(self::$current_gallery->ID, 'sunshine-thumbnail', 0);
            echo '<meta property="og:title" content="' . self::$current_gallery->post_title . ' by ' . get_bloginfo('name') . '"/>
		    <meta property="og:type" content="product"/>
		    <meta property="og:url" content="' . trailingslashit(get_permalink(self::$current_gallery->ID)) . '"/>
		    <meta property="og:image" content="' . $image . '"/>
		    <meta property="og:site_name" content="' . get_bloginfo('name') . '"/>
		    <meta property="og:description" content="' . sprintf(__('Photo gallery %s by %s', 'sunshine'), get_the_title(self::$current_gallery->post_parent), get_bloginfo('name')) . '"/>';
        } elseif (!empty(self::$current_order)) {
            echo '<meta name="robots" content="noindex" />';
        }
        if (is_sunshine() && $sunshine->options['disable_right_click']) {
            ?>
			<script type="text/javascript">
			jQuery(document).ready(function() {
				jQuery(document).bind("contextmenu",function(e){ return false; });
				jQuery("img").mousedown(function(){ return false; });
				document.body.style.webkitTouchCallout='none';
			});
			</script>
		<?php 
        }
    }