<?php
$loop = new WP_Query( array(
    'post_type' => 'CustomPostİsmi',
    'posts_per_page' => -1
  )
);
?>

<?php while ( $loop->have_posts() ) : $loop->the_post(); ?>

  <!-- do stuff -->

<?php endwhile; wp_reset_query(); ?>

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

Fill out this field
Fill out this field
Lütfen geçerli bir e-posta adresi yazın.
You need to agree with the terms to proceed

Google Değerlendirme Notu
5.0
213 yoruma göre
js_loader