extract only WP pages in main namespace (assuming it's always 0)