PATH:
home
/
letacommog
/
lavenue
/
wp-content
/
themes
/
deep
<?php /** * Deep Theme. * * The template for displaying gallery pages * * @since 1.0.0 * @author Webnus */ // Don't load directly. if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'WN_Archive_Gallery' ) ) { class WN_Archive_Gallery extends WN_Core_Templates { /** * Instance of this class. * * @since 1.0.0 * @access public * @var WN_Archive_Gallery */ public static $instance; /** * Provides access to a single instance of a module using the singleton pattern. * * @since 1.0.0 * @return object */ public static function get_instance() { if ( self::$instance === null ) { self::$instance = new self(); } return self::$instance; } /** * Define the core functionality of the archive-gallery.php * * @since 1.0.0 */ public function __construct() { parent::__construct(); $this->get_header(); $this->content(); $this->get_footer(); } /** * Render content. * * @since 1.0.0 */ private function content() { $this->headline(); ?> <div class="clearfix gallery-archive"> <div class="row"> <div class="col-md-12"> <section class="page-content" > <?php if ( class_exists( 'The_Grid_Plugin' ) ) { // Get title from ID $setgrid = deep_get_option( $this->theme_options, 'deep_thegrid_gallery' ); $gridname = get_the_title( $setgrid ); // Archive The Grid Gallery echo do_shortcode( '[the_grid name="' . $gridname . '"]' ); } else { // If Not Install & Or Activate echo'<div class="container"><h5>'. esc_html__('Please Install & Or Activate TheGrid Plugin For Set Archive Gallery.', 'deep') .'</h5></div>'; } ?> </section> </div> </div> </div> <?php } /** * Get page title * * @since 1.0.0 */ private function headline() { $gallery_title = deep_get_option( $this->theme_options, 'deep_gallery_title' ); $enable_gallery_title = deep_get_option( $this->theme_options, 'deep_gallery_page_title_enable' ); if ( $enable_gallery_title ) { echo ' <section id="headline" class="page-title gallery-archive-page-title"> <div class="container"> <h1>' . esc_html( $gallery_title ) .' </h1> </div> </section>'; } } } // Run WN_Archive_Gallery::get_instance(); }
[+]
..
[-] 404.php
[edit]
[+]
kingcomposer
[-] attachment.php
[edit]
[-] single-gallery.php
[edit]
[-] wpml-config.xml
[edit]
[-] single-portfolio.php
[edit]
[+]
woocommerce
[-] taxonomy-cause_category.php
[edit]
[-] readme.txt
[edit]
[-] sidebar.php
[edit]
[-] footer.php
[edit]
[-] archive.php
[edit]
[-] single-faq.php
[edit]
[-] single-elementor_library.php
[edit]
[-] taxonomy-sermon_speaker.php
[edit]
[-] rtl.css
[edit]
[-] single-llms_membership.php
[edit]
[-] speakers-images.php
[edit]
[-] buddypress.php
[edit]
[-] single-recipe.php
[edit]
[-] archive-room.php
[edit]
[-] single-llms_quiz.php
[edit]
[-] functions.php
[edit]
[-] archive-gallery.php
[edit]
[-] taxonomy-sermon_series.php
[edit]
[-] author.php
[edit]
[-] taxonomy-portfolio_category.php
[edit]
[-] single-mega_menu.php
[edit]
[-] page.php
[edit]
[-] comments.php
[edit]
[-] single-goal.php
[edit]
[-] single-course.php
[edit]
[-] single-sermon.php
[edit]
[-] search.php
[edit]
[-] Change_log.php
[edit]
[-] taxonomy-sermon_category.php
[edit]
[-] searchform.php
[edit]
[-] single-llms_question.php
[edit]
[-] core-templates.php
[edit]
[-] style.css
[edit]
[-] index.php
[edit]
[+]
lifterlms
[-] single-wbf_footer.php
[edit]
[+]
assets
[+]
inc
[-] single-cause.php
[edit]
[-] archive-course.php
[edit]
[-] header.php
[edit]
[-] screenshot.png
[edit]
[+]
languages
[-] single-lesson.php
[edit]
[+]
vc_templates
[-] README.md
[edit]
[+]
buddypress
[-] single.php
[edit]