WordPress /page/2 not working

Don’t use query_posts, ever. The first 6 queries can be condensed to a single WP_Query: $args = array( ‘cat’ => 3598, ‘posts_per_page’ => 6 ); $featured = new WP_Query( $args ); if( $featured->have_posts() ){ $featured->the_post(); ?> your markup for the first post <?php $featured->the_post(); ?> your markup for the second post <?php $featured->the_post(); // etc.. … Read more

Query a WordPress page by its title (which has a parent page)

You are almost there—but please, use WP_Query. $args = array( ‘pagename’ => ‘features’, ‘post_parent’ => PARENT-PAGE-ID-HERE, ); $query = new WP_Query($args); if ($query->have_posts()) : $query->the_post(); // … wp_reset_postdata(); endif; // EDIT: If you don’t want to or cannot use the parent page’s ID, you can access it by its title, for instance like so: ‘post_parent’ … Read more

list child page items (1 level with meta keys)

See: https://stackoverflow.com/questions/1045439/wordpress-retrieving-post-children See: https://stackoverflow.com/questions/2572173/wordpress-showing-custom-data-from-child-pages-pagination See: https://stackoverflow.com/questions/3488628/wordpress-list-pages-with-children See: https://stackoverflow.com/questions/3780148/getting-wordpress-wp-list-pages-to-list-only-relevant-children-hard-as-hell See: https://stackoverflow.com/questions/1160047/wordpress-list-multi-level-parent-pages-when-on-a-3rd-level-child-page depth (integer) This parameter controls how many levels in the hierarchy of pages are to be included in the list generated by wp_list_pages. The default value is 0 (display all pages, including all sub-pages). 0 (default) Displays pages at any depth and arranges them hierarchically … Read more