Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $qry = new WP_Query(
- array(
- 'cat' => $current_post_categories[0],
- 'posts_per_page' => 2,
- 'post__not_in' => array( $current_post_id ),
- 'date_query' => array(
- array(
- 'before' => get_the_date(),
- ),
- ),
- ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement