Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $args = array(
- 'post_type' => 'bc_treneriai',
- 'posts_per_page' => -1
- );
- $query = new WP_Query( $args );
- ?>
- <?php while ( $query->have_posts() ) : $query->the_post(); ?>
- <!-- Inside the loop -->
- <h2><?php the_title(); ?></h2>
- <?php the_field('vardas'); ?>
- <?php endwhile; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement