Categories PHP WordPress Save WP_Query results to a variable Post author By ville Post date 2015-11-13 No Comments on Save WP_Query results to a variable $the_query = new WP_Query( array(...) ); $posts = $the_query->get_posts(); ← Order WordPress posts by multiple keys → Raised Fist @ Pakkahuone, Tampere Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment Name * Email * Website Δ This site uses Akismet to reduce spam. Learn how your comment data is processed.