Single page theme
I am trying to create single page theme. What i have trouble with is understanding this whole wordpress query logic. There is query object and supposedly i get all published posts like this: $query = new WP_Query( array ( ‘orderby’ => ‘menu_order’, ‘order’ => ‘ASC’, ‘post_type’ => array( ‘page’ ), ‘post_status’ => array( ‘publish’ ) … Read more