Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $args = array( 'post_type' => 'one_column', 'posts_per_page' => 1 );
- $loop = new WP_Query( $args );
- while ( $loop->have_posts() ) : $loop->the_post(); ?>
- <div class="left-module-646">
- <a href="<?php echo get_post_meta($post->ID, '_pbsp_cp', true); ?>">
- <img src="<?php echo get_post_meta($post->ID, '_pbsp_imglink', true); ?>" alt="<?php the_title(); ?> image" style="width:185px; height:104px;" />
- </a>
- <span>
- <h4><a href="<?php echo get_post_meta($post->ID, '_pbsp_cp', true); ?>"><?php the_title(); ?></a></h4>
- <?php the_content(); ?>
- </span>
- </div>
- <?php endwhile; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement