• I’m setting wordpress up as a CMS for my entire website. It’s going swimmingly, but I’m running into a snag with my portfolio which is done with 3 levels of pages (section > project > assets/materials).

    On the section pages, I would like to pull a list of all the subpages (projects) and, instead of displaying the page titles, displaying two custom fields (project_thumb, project_description) so that the end result is something like:

    [project image] Project Description
    [project image] Project Description
    [project image] Project Description

    I have no problem pulling the list with

    wp_list_pages('title_li=&depth=1&child_of='.$post->ID.'')

    But I cannot figure out how to do it with the custom fields. My PHP is minimal (ie I can read it, I just can’t speak it) and everything that I’ve found is a step beyond my level.

    If visual aids help, a “section page” can be found at: https://dev.giantmice.com/portfolio/arg Clicking on either Lockjaw or Metacortechs there will show the project_description custom field in question — it’s the first block of text on the page describing the project.

    Help! Please?! Thank you!!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Pulling a list of pages and displaying custom fields’ is closed to new replies.