Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

CVDesign May 22nd, 2020 1,157 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $pageid = get_the_ID();
  3. if(ICL_LANGUAGE_CODE=='nl'){
  4.     if ($pageid === 4689):
  5.         $filterid = 4688;
  6.     else:
  7.         $filterid = 4682;
  8.     endif;
  9. }elseif(ICL_LANGUAGE_CODE=='en'){
  10.     if ($pageid === 7927):
  11.         $filterid = 8003;
  12.     else:
  13.         $filterid = 8002;
  14.     endif;
  15. }
  16. ?>
  17.  
  18. <?php
  19. $args = array('post_type' => 'post');
  20. $args['search_filter_id'] = $filterid;
  21. $query = new WP_Query($args);
  22. ?>
  23.  
  24. <?php $query = new WP_Query( $args ); ?>
  25. <div class="col-md-12 listing-cordacompanies">
  26.     <?php if( $query->have_posts() ) : ?>
  27.         <div class="row">
  28.             <div class="col-md-12 inner-wrapper">
  29.                 <div class="row">
  30.                     <?php while( $query->have_posts() ) : $query->the_post(); ?>
  31.                         <?php get_template_part('template-parts/grids/card','cordacompanies-large'); ?>
  32.                     <?php endwhile;  ?>
  33.                 </div>
  34.             </div>
  35.             <div class="col-md-12 pagination">
  36.                 <div class="flex-aligner">
  37.                     <div class="grid-pag">
  38.                         <div class="nav-previous"><?php next_posts_link( '<i class="fas fa-chevron-right"></i>', $query->max_num_pages ); ?></div>
  39.                         <div class="nav-next"><?php previous_posts_link( '<i class="fas fa-chevron-left"></i>' , $query->max_num_pages); ?></div>
  40.                     </div>
  41.                 </div>
  42.             </div>
  43.         </div>
  44.     <?php else : ?>
  45.         <div class="row">
  46.             <div class="col-md-12">
  47.                 <span class="niets"><?php _e( 'Momenteel niets weer te geven.', 'theme' ); ?></span>
  48.             </div>
  49.         </div>
  50.     <?php endif; ?>
  51. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top