Exemplo n.º 1
0
/**
 * Append gallery images to page automatically
 *
 * @since 1.0
 */
function easy_image_gallery_append_to_content($content)
{
    if (is_singular() && is_main_query() && easy_image_gallery_allowed_post_type()) {
        $new_content = easy_image_gallery();
        $content .= $new_content;
    }
    return $content;
}
Exemplo n.º 2
0
        if (function_exists('easy_image_gallery')) {
            $eddgallery = easy_image_gallery();
            ?>
                        
                        <?php 
            if ($eddgallery != '') {
                ?>
 
                        
                        <p><?php 
                _e('Click to view larger images', 'squarecode');
                ?>
</p>
                        
                        <?php 
                echo easy_image_gallery();
            }
            ?>
                        
                        <?php 
        }
        ?>
 
                        </div><!-- End of EDD Featured Image Container -->
                
                <div class="clear"></div>

                    <!-- Start of content single -->
                    <section class="contentsingle">

                        <!-- Start of post class -->