Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $args = array(
- 'cat' => 4,
- 'posts_per_page' => 4,
- 'post__in' => get_option( 'sticky_posts' ),
- );
- $showNewsSticky = new WP_Query( $args );
- while ($showNewsSticky->have_posts()) : $showNewsSticky->the_post(); ?>
- <h2 class="small2 marginBottomQuater">
- <a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
- </h2>
- <?php the_excerpt(); ?>
- <?php endwhile; ?>
Add Comment
Please, Sign In to add comment