Get array of posts from the current archive page loop

That’s pretty easy. All you need is this:

global $wp_query;
$my_posts = $wp_query->posts;

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)