403Webshell
Server IP : 202.61.199.114  /  Your IP : 216.73.217.139
Web Server : nginx/1.22.1
System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : web20 ( 1018)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/clients/client2/web6/web/wp-content/themes/saashub/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/clients/client2/web6/web/wp-content/themes/saashub/archive.php
<?php
/*
 * The template for displaying archive pages.
 * Author & Copyright: VictorThemes
 * URL: http://themeforest.net/user/VictorThemes
 */
get_header();
$noneed_testimonial_post = cs_get_option('noneed_testimonial_post');
$noneed_apps_post = cs_get_option('noneed_apps_post');
$noneed_stories_post = cs_get_option('noneed_stories_post');
$noneed_careers_post = cs_get_option('noneed_careers_post');
$noneed_team_post = cs_get_option('noneed_team_post');

if(function_exists( 'saashub_core_plugin_status' ) && (saashub_is_post_type('testimonial') && !$noneed_testimonial_post)){

	$testimonial_style = cs_get_option('testimonial_style');
  $testimonial_image = cs_get_option('testimonial_image');
	$testimonial_limit = cs_get_option('testimonial_limit');
	$testimonial_orderby = cs_get_option('testimonial_orderby');
	$testimonial_order = cs_get_option('testimonial_order');
  $testimonial_limit = $testimonial_limit ? $testimonial_limit : '-1';

  // Query Starts Here
  // Pagination
  global $paged;
  if( get_query_var( 'paged' ) )
    $my_page = get_query_var( 'paged' );
  else {
    if( get_query_var( 'page' ) )
      $my_page = get_query_var( 'page' );
    else
      $my_page = 1;
    set_query_var( 'paged', $my_page );
    $paged = $my_page;
  }

  $args = array(
    'paged' => $my_page,
    'post_type' => 'testimonial',
    'posts_per_page' => (int)$testimonial_limit,
    'orderby' => $testimonial_orderby,
    'order' => $testimonial_order,
  );

  // Testimonial Style
  if ($testimonial_style === 'two') {
    $testimonial_style_class = ' testimonials-style-two';
  } elseif ($testimonial_style === 'three') {
    $testimonial_style_class = ' testimonials-style-five sahub-overlay sahub-parallax';
  } elseif ($testimonial_style === 'four') {
    $testimonial_style_class = ' testimonials-style-six';
  } else {
    $testimonial_style_class = '';
  }
  // RTL
  if ( is_rtl() ) {
    $switch_rtl = ' data-rtl="true"';
  } else {
    $switch_rtl = ' data-rtl="false"';
  }

  $saashub_testi = new WP_Query( $args );
  if ($saashub_testi->have_posts()) :
  ?>
  <div class="testimonial-global-wrap">
  <div class="sahub-testimonials<?php echo esc_attr($testimonial_style_class); ?>">
    <div class="container">
      <div class="testimonial-wrap">
        <div class="owl-carousel" data-items="1" data-margin="0" data-loop="true" data-nav="true" data-dots="true" data-autoplay="true">

        <?php while ($saashub_testi->have_posts()) : $saashub_testi->the_post();
          // Get Meta Box Options - saashub_framework_active()
          $testimonial_options = get_post_meta( get_the_ID(), 'testimonial_options', true );
          if($testimonial_options) {
            $testi_job = $testimonial_options['testi_position'];
            $testi_logo = $testimonial_options['testi_logo'];
          } else {
            $testi_job = '';
            $testi_logo = '';
          }

          // Featured Image
          $large_image =  wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'fullsize', false, '' );
          $large_image = $large_image[0];
          $saashub_alt = get_post_meta( get_post_thumbnail_id(get_the_ID()), '_wp_attachment_image_alt', true);

          if ($testimonial_style === 'two') { // Style Two
          ?>
            <div class="item">
              <div class="testimonial-item">
                <?php if ($testimonial_image === 'logo') {
                  if($testi_logo) { ?>
                    <div class="sahub-image"><img src="<?php echo esc_url($testi_logo['url']); ?>" alt="<?php echo esc_attr($saashub_alt); ?>"></div>
                  <?php }
                } else {
                  if($large_image) { ?>
                    <div class="sahub-image"><img src="<?php echo esc_url($large_image); ?>" alt="<?php echo esc_attr($saashub_alt); ?>"></div>
                  <?php }
                } ?>
                <div class="testimonial-info">
                  <p><?php the_excerpt(); ?></p>
                  <h4 class="author-name"><span>- <a href="<?php echo esc_url( get_permalink() ); ?>"><?php echo get_the_title(); ?></a></span><?php if ($testi_job) { ?>, <?php echo esc_html($testi_job); ?><?php } ?></h4>
                </div>
              </div>
            </div>
          <?php } else { ?>
            <div class="item">
              <div class="testimonial-item">
                <?php if ($testimonial_image === 'logo') {
                  if($testi_logo) { ?>
                    <div class="sahub-image"><img src="<?php echo esc_url($testi_logo['url']); ?>" alt="<?php echo esc_attr($saashub_alt); ?>"></div>
                  <?php }
                } else {
                  if($large_image) { ?>
                    <div class="sahub-image"><img src="<?php echo esc_url($large_image); ?>" alt="<?php echo esc_attr($saashub_alt); ?>"></div>
                  <?php }
                } ?>
                <p><?php the_excerpt(); ?></p>
                <h4 class="author-name"><span>- <a href="<?php echo esc_url( get_permalink() ); ?>"><?php echo get_the_title(); ?></a></span><?php if ($testi_job) { ?>, <?php echo esc_html($testi_job); ?><?php } ?></h4>
              </div>
            </div>
          <?php }

          endwhile;
          wp_reset_postdata();
          ?>
        </div>
      </div>
    </div>
  </div>
  </div>

  <?php
    endif;

} elseif (function_exists( 'saashub_core_plugin_status' ) && (saashub_is_post_type('apps') && !$noneed_apps_post)) {

  $apps_limit = cs_get_option('apps_limit');
  $saashub_apps_show_category = cs_get_option('apps_show_category');
  $saashub_apps_orderby = cs_get_option('apps_orderby');
  $saashub_apps_order = cs_get_option('apps_order');
  $saashub_apps_filter = cs_get_option('apps_filter');
  $saashub_apps_filter_type = cs_get_option('apps_filter_type');
  $saashub_apps_pagination = cs_get_option('apps_pagination');
  $apps_col = cs_get_option('apps_col');
  $apps_col = $apps_col ? $apps_col : '3';
  $apps_limit = $apps_limit ? $apps_limit : '9';

  $all_text = cs_get_option('all_text');
  $all_text_actual = $all_text ? $all_text : esc_html__('All Apps', 'saashub');

  if ($saashub_apps_filter_type === 'ajax') {
    $filter_cls = ' ajax-filter';
  } else {
    $filter_cls = ' normal-filter';
  }

  // Pagination
  global $paged;
  if( get_query_var( 'paged' ) )
    $my_page = get_query_var( 'paged' );
  else {
    if( get_query_var( 'page' ) )
      $my_page = get_query_var( 'page' );
    else
      $my_page = 1;
    set_query_var( 'paged', $my_page );
    $paged = $my_page;
  }

  if ($saashub_apps_show_category) {
    $args = array(
      // other query params here,
      'paged' => $my_page,
      'post_type' => 'apps',
      'posts_per_page' => (int)$apps_limit,
      'tax_query' => array(
        array(
          'taxonomy' => 'apps_category',
          'field' => 'ID',
          'terms' => $saashub_apps_show_category
        )
      ),
      'orderby' => $saashub_apps_orderby,
      'order' => $saashub_apps_order
    );
  } else {
    $args = array(
      // other query params here,
      'paged' => $my_page,
      'post_type' => 'apps',
      'posts_per_page' => (int)$apps_limit,
      'orderby' => $saashub_apps_orderby,
      'order' => $saashub_apps_order
    );
  }

  $saashub_port = new WP_Query( $args ); ?>
  <div class="sahub-mid-wrap masonry-wrap sahub-apps-section">
    <div class="container">

	  	<?php if ($saashub_apps_filter) { ?>

        <div class="masonry-filters<?php echo esc_attr($filter_cls); ?>">
          <ul>
            <li><a href="javascript:void(0);" data-filter="*" data-limit="<?php echo esc_attr($apps_limit); ?>" class="active"><?php echo esc_html($all_text_actual); ?></a></li>
            <?php
              if ($saashub_apps_show_category) {
                $terms = $saashub_apps_show_category;
                $count = count($terms);
                if ($count > 0) {
                  foreach ($terms as $term) {
                    $term_name = get_term_by('id', $term, 'apps_category');
                    echo '<li class="cat-'. preg_replace('/\s+/', "", strtolower($term_name->name)) .'"><a href="javascript:void(0);" data-filter=".cat-'. preg_replace('/\s+/', "", strtolower($term_name->name)) .'" data-limit="'.esc_attr($apps_limit).'" data-cat="'. esc_attr($term_name->slug) .'" title="' . str_replace('-', " ", strtolower($term_name->name)) . '">' . str_replace('-', " ", $term_name->name) . '</a></li>';
                   }
                }
              } else {
                $terms = get_terms('apps_category');
                $count = count($terms);
                $i=0;
                $term_list = '';
                if ($count > 0) {
                  foreach ($terms as $term) {
                    $i++;
                    $term_list .= '<li><a href="javascript:void(0);" data-limit="'.esc_attr($apps_limit).'" data-cat="'. esc_attr($term->slug) .'" class="filter cat-'. esc_attr($term->slug) .'" data-filter=".cat-'. esc_attr($term->slug) .'" title="' . esc_attr($term->name) . '">' . esc_html($term->name) . '</a></li>';
                    if ($count != $i) {
                      $term_list .= '';
                    } else {
                      $term_list .= '';
                    }
                  } 
                  echo $term_list;
                }
              }
            ?>
          </ul>
        </div>

	    <?php } ?>
	    <!-- Start -->
        <div class="sahub-masonry" data-items="<?php echo esc_attr($apps_col); ?>">
  	    	<?php
  	      if ($saashub_port->have_posts()) : while ($saashub_port->have_posts()) : $saashub_port->the_post();
  	        get_template_part( 'layouts/post/content', 'apps' );
  	        endwhile;
  	      else :
  	        get_template_part( 'layouts/post/content', 'none' );
  	      endif; ?>
        </div>
			<!-- End -->
      <?php if($saashub_port->max_num_pages > 1) {
        if ($saashub_apps_pagination) { saashub_paging_nav($saashub_port->max_num_pages,"",$paged); }
      } wp_reset_postdata(); ?>

    </div>
  </div>

<?php } elseif (function_exists( 'saashub_core_plugin_status' ) && (saashub_is_post_type('stories') && !$noneed_stories_post)) {

  $stories_col = cs_get_option('stories_col');
  $stories_limit = cs_get_option('stories_limit');
  $saashub_stories_show_category = cs_get_option('stories_show_category');
  $saashub_stories_orderby = cs_get_option('stories_orderby');
  $saashub_stories_order = cs_get_option('stories_order');
  $saashub_stories_pagination = cs_get_option('stories_pagination');
  $stories_limit = $stories_limit ? $stories_limit : '9';
  $stories_col = $stories_col ? $stories_col : '3';

  // Pagination
  global $paged;
  if( get_query_var( 'paged' ) )
    $my_page = get_query_var( 'paged' );
  else {
    if( get_query_var( 'page' ) )
      $my_page = get_query_var( 'page' );
    else
      $my_page = 1;
    set_query_var( 'paged', $my_page );
    $paged = $my_page;
  }

  if ($saashub_stories_show_category) {
    $args = array(
      // other query params here,
      'paged' => $my_page,
      'post_type' => 'stories',
      'posts_per_page' => (int)$stories_limit,
      'tax_query' => array(
        array(
          'taxonomy' => 'stories_category',
          'field' => 'ID',
          'terms' => $saashub_stories_show_category
        )
      ),
      'orderby' => $saashub_stories_orderby,
      'order' => $saashub_stories_order
    );
  } else {
    $args = array(
      // other query params here,
      'paged' => $my_page,
      'post_type' => 'stories',
      'posts_per_page' => (int)$stories_limit,
      'orderby' => $saashub_stories_orderby,
      'order' => $saashub_stories_order
    );
  }

  $saashub_case = new WP_Query( $args ); ?>
  <div class="sahub-mid-wrap">
    <div class="container">
      <div class="masonry-wrap">
      <!-- Start -->
        <div class="sahub-masonry" data-items="<?php echo esc_attr($stories_col); ?>">
          <?php
          if ($saashub_case->have_posts()) : while ($saashub_case->have_posts()) : $saashub_case->the_post();
            get_template_part( 'layouts/post/content', 'stories' );
            endwhile;
          else :
            get_template_part( 'layouts/post/content', 'none' );
          endif; ?>
        </div>
      <!-- End -->
      </div>
      <?php if($saashub_case->max_num_pages > 1) {
        if ($saashub_stories_pagination) { saashub_paging_nav($saashub_case->max_num_pages,"",$paged); }
      } wp_reset_postdata(); ?>

    </div>
  </div>

<?php } elseif(function_exists( 'saashub_core_plugin_status' ) && (saashub_is_post_type('careers') && !$noneed_careers_post)){

  $careers_limit = cs_get_option('careers_limit');
  $careers_show_category = cs_get_option('careers_show_category');
  $careers_orderby = cs_get_option('careers_orderby');
  $careers_order = cs_get_option('careers_order');
  $careers_pagination = cs_get_option('careers_pagination');
  $careers_limit = $careers_limit ? $careers_limit : '-1';

  $careers_positions = cs_get_option('careers_positions');
  $careers_location = cs_get_option('careers_location');
  $careers_hours = cs_get_option('careers_hours');

  $saashub_careers_positions = $careers_positions ? $careers_positions : esc_html__( 'Positions', 'saashub' );
  $saashub_careers_location = $careers_location ? $careers_location : esc_html__( 'Location', 'saashub' );
  $saashub_careers_hours = $careers_hours ? $careers_hours : esc_html__( 'Hours', 'saashub' );

  // Query Starts Here
  // Pagination
  global $paged;
  if( get_query_var( 'paged' ) )
    $my_page = get_query_var( 'paged' );
  else {
    if( get_query_var( 'page' ) )
      $my_page = get_query_var( 'page' );
    else
      $my_page = 1;
    set_query_var( 'paged', $my_page );
    $paged = $my_page;
  }

  if ($careers_show_category) {
    $args = array(
      // other query params here,
      'paged' => $my_page,
      'post_type' => 'careers',
      'posts_per_page' => (int)$careers_limit,
      'tax_query' => array(
        array(
          'taxonomy' => 'careers_category',
          'field' => 'ID',
          'terms' => $careers_show_category
        )
      ),
      'orderby' => $careers_orderby,
      'order' => $careers_order
    );
  } else {
    $args = array(
      // other query params here,
      'paged' => $my_page,
      'post_type' => 'careers',
      'posts_per_page' => (int)$careers_limit,
      'orderby' => $careers_orderby,
      'order' => $careers_order
    );
  }

  $saashub_carers = new WP_Query( $args );
  if ($saashub_carers->have_posts()) :
  ?>
  <div class="sahub-mid-wrap">
    <div class="container">
      <div class="careers-wrap">
        <div class="sahub-responsive-table">
          <table class="table">
            <thead>
              <tr>
                <th><?php echo esc_html($saashub_careers_positions); ?></th>
                <th><?php echo esc_html($saashub_careers_location); ?></th>
                <th><?php echo esc_html($saashub_careers_hours); ?></th>
              </tr>
            </thead>
            <tbody>
              <?php while ($saashub_carers->have_posts()) : $saashub_carers->the_post();

              // Get Meta Box Options - saashub_framework_active()
              $careers_options = get_post_meta( get_the_ID(), 'careers_options', true );
              $location_text = $careers_options['location_text'];
              $hour_text = $careers_options['hour_text'];
              ?>
                <tr>
                  <td><a href="<?php echo esc_url( get_permalink() ); ?>"><?php echo get_the_title(); ?></a></td>
                  <?php if ($location_text) { ?><td><?php echo esc_html($location_text); ?></td><?php } ?>
                  <?php if ($hour_text) { ?><td><?php echo esc_html($hour_text); ?></td><?php } ?>
                </tr>
              <?php endwhile; ?>
            </tbody>
          </table>
        </div>
        <?php if($saashub_carers->max_num_pages > 1) {
          if ($careers_pagination) { saashub_paging_nav($saashub_carers->max_num_pages,"",$paged); }
        } wp_reset_postdata(); ?>
      </div>
    </div>
  </div>

  <?php endif;

} elseif (function_exists( 'saashub_core_plugin_status' ) && (saashub_is_post_type('team') && !$noneed_team_post)) {

  $team_limit = cs_get_option('team_limit');
  $team_show_category = cs_get_option('team_show_category');
  $team_orderby = cs_get_option('team_orderby');
  $team_order = cs_get_option('team_order');
  $saashub_team_filter = cs_get_option('team_filter');
  $saashub_team_filter_type = cs_get_option('team_filter_type');
  $saashub_team_aqr = cs_get_option('team_aqr');
  $saashub_team_pagination = cs_get_option('team_pagination');
  $team_col = cs_get_option('team_col');
  $team_col = $team_col ? $team_col : '4';

  $team_limit = $team_limit ? $team_limit : '8';

  if($team_col === '2') {
    $col_class = ' two-column';
  } elseif($team_col === '3') {
    $col_class = ' three-column';
  } else {
    $col_class = ' four-column';
  }

  $all_text = cs_get_option('all_text_team');
  $all_text_actual = $all_text ? $all_text : esc_html__('All Team', 'saashub');

  if ($saashub_team_filter_type === 'ajax') {
    $filter_cls = ' ajax-filter';
  } else {
    $filter_cls = ' normal-filter';
  }
  // Query Starts Here
  // Pagination
  global $paged;
  if( get_query_var( 'paged' ) )
    $my_page = get_query_var( 'paged' );
  else {
    if( get_query_var( 'page' ) )
      $my_page = get_query_var( 'page' );
    else
      $my_page = 1;
    set_query_var( 'paged', $my_page );
    $paged = $my_page;
  }

  if ($team_show_category) {
    $args = array(
      // other query params here,
      'paged' => $my_page,
      'post_type' => 'team',
      'posts_per_page' => (int)$team_limit,
      'tax_query' => array(
        array(
          'taxonomy' => 'team_category',
          'field' => 'ID',
          'terms' => $team_show_category
        )
      ),
      'orderby' => $team_orderby,
      'order' => $team_order
    );
  } else {
    $args = array(
      'paged' => $my_page,
      'post_type' => 'team',
      'posts_per_page' => (int)$team_limit,
      'orderby' => $team_orderby,
      'order' => $team_order,
    );
  }

  $saashub_team_qury = new WP_Query( $args );
  ?>

  <div class="sahub-mid-wrap">
    <div class="container">
      <div class="masonry-wrap">
        <?php if ($saashub_team_filter) { ?>
          <div class="masonry-filters<?php echo esc_attr($filter_cls); ?>">
            <ul>
              <li><a href="javascript:void(0);" data-filter="*" data-limit="<?php echo esc_attr($team_limit); ?>" class="active"><?php echo esc_html($all_text_actual); ?></a></li>
              <?php
                if ($team_show_category) {
                  $terms = $team_show_category;
                  $count = count($terms);
                  if ($count > 0) {
                    foreach ($terms as $term) {
                      $term_name = get_term_by('id', $term, 'team_category');
                      echo '<li class="cat-'. preg_replace('/\s+/', "", strtolower($term_name->name)) .'"><a href="javascript:void(0);" data-filter=".cat-'. preg_replace('/\s+/', "", strtolower($term_name->name)) .'" data-limit="'.esc_attr($team_limit).'" data-cat="'. esc_attr($term_name->slug) .'" title="' . str_replace('-', " ", strtolower($term_name->name)) . '">' . str_replace('-', " ", $term_name->name) . '</a></li>';
                     }
                  }
                } else {
                  $terms = get_terms('team_category');
                  $count = count($terms);
                  $i=0;
                  $term_list = '';
                  if ($count > 0) {
                    foreach ($terms as $term) {
                      $i++;
                      $term_list .= '<li><a href="javascript:void(0);" data-limit="'.esc_attr($team_limit).'" data-cat="'. esc_attr($term->slug) .'" class="filter cat-'. esc_attr($term->slug) .'" data-filter=".cat-'. esc_attr($term->slug) .'" title="' . esc_attr($term->name) . '">' . esc_html($term->name) . '</a></li>';
                      if ($count != $i) {
                        $term_list .= '';
                      } else {
                        $term_list .= '';
                      }
                    } 
                    echo $term_list;
                  }
                }
              ?>
            </ul>
          </div>
        <?php } ?>
          <div class="sahub-masonry <?php echo esc_attr($col_class); ?>" data-items="<?php echo esc_attr($team_col); ?>">
            <?php
            if ($saashub_team_qury->have_posts()) : while ($saashub_team_qury->have_posts()) : $saashub_team_qury->the_post();
              get_template_part( 'layouts/post/content', 'team' );
              endwhile;
            else :
              get_template_part( 'layouts/post/content', 'none' );
            endif; ?>
          </div>
        <?php if($saashub_team_qury->max_num_pages > 1) {
          if ($saashub_team_pagination) { saashub_paging_nav($saashub_team_qury->max_num_pages,"",$paged); }
        } wp_reset_postdata(); ?>
      </div>
    </div>
  </div> <!-- Team End -->

<?php
} else {
  // Metabox
  $saashub_id    = ( isset( $post ) ) ? $post->ID : 0;
  $saashub_id    = ( is_home() ) ? get_option( 'page_for_posts' ) : $saashub_id;
  $saashub_id    = ( saashub_is_woocommerce_shop() ) ? wc_get_page_id( 'shop' ) : $saashub_id;
  $saashub_meta  = get_post_meta( $saashub_id, 'page_type_metabox', true );

  if ($saashub_meta) {
  	$saashub_content_padding = $saashub_meta['content_spacings'];
  } else { $saashub_content_padding = ''; }
  // Padding - Metabox
  if ($saashub_content_padding && $saashub_content_padding !== 'padding-none') {
    $saashub_content_spacings_unit = $saashub_meta['content_top_bottom_padding']['unit'];
    $saashub_content_top_spacings = $saashub_meta['content_top_bottom_padding']['top'];
    $saashub_content_bottom_spacings = $saashub_meta['content_top_bottom_padding']['bottom'];
    if ($saashub_content_padding === 'padding-custom') {
      $saashub_content_top_spacings = $saashub_content_top_spacings ? 'padding-top:'.$saashub_content_top_spacings.$saashub_content_spacings_unit.';' : '';
      $saashub_content_bottom_spacings = $saashub_content_bottom_spacings ? 'padding-bottom:'.$saashub_content_bottom_spacings.$saashub_content_spacings_unit.';' : '';
      $saashub_custom_padding = $saashub_content_top_spacings . $saashub_content_bottom_spacings;
    } else {
      $saashub_custom_padding = '';
    }
  } else {
    $saashub_custom_padding = '';
  }

  // Theme Options
  $saashub_sidebar_position = cs_get_option('blog_sidebar_position');
  $saashub_blog_widget = cs_get_option('blog_widget');
  $saashub_pagi_style = cs_get_option('blog_pagination_style');
  $saashub_load_more = cs_get_option('blog_load_more_btn_txt');
  $load_more_btn_txt = $saashub_load_more ? $saashub_load_more : esc_html__( 'Load More', 'saashub' );

  if ($saashub_blog_widget) {
    $widget_select = $saashub_blog_widget;
  } else {
    if (is_active_sidebar('sidebar-1')) {
      $widget_select = 'sidebar-1';
    } else {
      $widget_select = '';
    }
  }

  // Sidebar Position
  if ($widget_select && is_active_sidebar( $widget_select )) {
    if ($saashub_sidebar_position === 'sidebar-hide') {
      $layout_class = 'col-md-12';
      $saashub_sidebar_class = 'hide-sidebar';
    } elseif ($saashub_sidebar_position === 'sidebar-left') {
      $layout_class = 'sahub-primary';
      $saashub_sidebar_class = 'left-sidebar';
    } else {
      $layout_class = 'sahub-primary';
      $saashub_sidebar_class = 'right-sidebar';
    }
  } else {
    $saashub_sidebar_position = 'sidebar-hide';
    $layout_class = 'col-md-12';
    $saashub_sidebar_class = 'hide-sidebar';
  }
  ?>
  <div class="sahub-mid-wrap sahub-post-listing <?php echo esc_attr($saashub_content_padding .' '. $saashub_sidebar_class); ?>" style="<?php echo esc_attr($saashub_custom_padding); ?>">
    <div class="container">
      <div class="row">
        <div class="<?php echo esc_attr($layout_class); ?>">
          <div class="news-list-wrap sahub-post-load-more" data-select=".news-list-wrap" data-item=".news-item" data-paging="<?php echo esc_attr($saashub_pagi_style); ?>" data-loading="<?php echo esc_attr($load_more_btn_txt); ?>">
            <?php do_action( 'saashub_before_blog_listing_action' ); // SaaSHub Action
              if ( have_posts() ) :
                /* Start the Loop */
                while ( have_posts() ) : the_post();
                  get_template_part( 'layouts/post/content' );
                endwhile;
              else :
                get_template_part( 'layouts/post/content', 'none' );
              endif; ?>
              <?php
              saashub_default_paging_nav();
              wp_reset_postdata();  // avoid errors further down the page
            do_action( 'saashub_after_blog_listing_action' ); // SaaSHub Action ?>
          </div><!-- row -->
        </div>
        <?php if ($saashub_sidebar_position !== 'sidebar-hide') { get_sidebar(); } ?>
      </div>
    </div>
  </div>
<?php }
get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit