Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a href="<?php echo str_replace( home_url(), '', get_permalink($post->ID) ); ?>
- <article id="post-<?php the_ID(); ?>" <?php post_class($post-
- >post_name); ?>>
- <div class="container mainPage">
- <div class="row">
- <div class="entry-content col-sm-9">
- <?php $args = array( 'post_type' => 'listing');
- $loop = new WP_Query( $args );
- while ( $loop->have_posts() ) : $loop->the_post(); ?>
- <div class="col-6 col-sm-6 box no-gutters">
- <?php sd_template_post_thumbnail();
- the_title('<h2>', '</h2>'); ?>
- <span><?php the_field('price'); ?></span>
- <span><?php the_field('description'); ?></span>
- <span><?php the_field('style'); ?></span>
- <span><?php the_field('design'); ?></span>
- </div>
- <?php endwhile; ?>
- </div><!--entry-content col-sm-9-->
- <div class="sideContact col-sm-3">
- <?php get_sidebar(); ?>
- </div><!--sideContact-->
- </div><!--row-->
- </div><!--entry-content-->
- </article><!-- #post-<?php the_ID(); ?> -->
Add Comment
Please, Sign In to add comment