Fixed videos.
authorLaury GvR <laury@gaslightmedia.com>
Thu, 6 Nov 2014 16:06:32 +0000 (11:06 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 6 Nov 2014 16:06:32 +0000 (11:06 -0500)
nggallery/gallery-glmvideos.php
page-73.php
page-75.php

index 1a3763a..757c949 100644 (file)
@@ -49,7 +49,6 @@ Follow variables are useable :
                     data-description="<?php echo esc_attr($image->description); ?>"
                     data-url="<?php echo nggcf_get_field($image->pid, "url"); ?>"
                     data-front-description="<?php echo nggcf_get_field($image->pid, "Front Description"); ?>"
-                    class="fancybox various iframe"
                     <?php echo $image->thumbcode ?> >
                         <?php if ( !$image->hidden ) { ?>
                         
index fd481c7..e5a6d8f 100644 (file)
                 <h2><?php the_title();?></h2>
                 <?php the_content(); ?>
                 </div>
-                
                 <footer>
+                    <script>
+                        jQuery(document).ready(function(){
+                            jQuery(".ngg-fancybox").each(function (){
+                                jQuery(this).addClass("various iframe");
+                                jQuery(this).attr("href",jQuery(this).children("img").attr("title"));
+                            });
+                        });
+                    </script>
                     <?php wp_link_pages(array('before' => '<nav id="page-nav"><p>' . __('Pages:', 'FoundationPress'), 'after' => '</p></nav>' )); ?>
                     <p><?php the_tags(); ?></p>
                 </footer>
index 19cd875..6c82d6f 100644 (file)
                 <?php the_content(); ?>
                 </div>
 
-                <div id="videogallery">
-                    <?php echo do_shortcode("[ngg_images album_ids='1' display_type='photocrati-nextgen_basic_compact_album']")?>
-
-                </div>
                 <footer>
                     <?php wp_link_pages(array('before' => '<nav id="page-nav"><p>' . __('Pages:', 'FoundationPress'), 'after' => '</p></nav>' )); ?>
                     <p><?php the_tags(); ?></p>