WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] WP_Query with pages

[Resolved] WP_Query with pages

  • steadyedd
    Member

    @steadyedd

    HI. I’m building a site where we’d like to show a summary of 5 specific pages (not posts) on the home page. Sort of like a sub menu (there’s a main nav menu at the page top as well created with wp_list_pages()). Normally I’d just use wp_list_pages() and include the required pages as a parameter. But…rather than just a list of links we’d like to show the Page Excerpt (using Peter Westwood’s PJW Page Excerpt allowing me to add excerpts to a page) as well as a thumbnail added using a Custom Field. I’ve seen how to do this with posts or to pull the Custom Fields for the current page but not seen it like this for pages.
    Regards, Edward

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] WP_Query with pages’ is closed to new replies.