?> <!-- module gallery --> <div id="<?php echo esc_attr($module_ID); ?> " class="<?php echo esc_attr($container_class); ?> "> <?php if ($mod_title_gallery != '') { ?> <?php echo $mod_settings['before_title'] . wp_kses_post(apply_filters('themify_builder_module_title', $mod_title_gallery, $fields_args)) . $mod_settings['after_title']; ?> <?php } ?> <?php // render the template $this->retrieve_template('template-' . $mod_name . '-' . $layout_gallery . '.php', array('module_ID' => $module_ID, 'mod_name' => $mod_name, 'gallery_images' => $gallery_images, 'columns' => $columns, 'settings' => isset($fields_args) ? $fields_args : array()), '', '', true); ?> </div> <!-- /module gallery --> <?php } TFCache::end_cache();