• Resolved humancomputer

    (@humancomputer)


    I’d like to create a page gallery to display the child pages of the parent. I’d like each child page to be displayed with the featured image and title of the child page. I’d like the gallery to be in a grid format.

    Is there a way to achieve this within Apex or Apex Pro? Or, do you recommend a plugin or child theme?

    Thank you.

    • This topic was modified 7 years, 10 months ago by humancomputer.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Ben Sibley

    (@bensibley)

    This sounds similar to an archive page. What about publishing the posts in a category, and then adding a menu item linking to the category archive?

    If that doesn’t work well for your site, could you let me know why? I can help with a customization if this isn’t quite what you want.

    Thread Starter humancomputer

    (@humancomputer)

    Thanks for the suggestion, Ben. I am planning to build more of a static website to host research projects, team member bios, community partnerships, etc.

    For instance, when going to team page, I would like to have gallery icons of each member of the team. Clicking on their icon should lead to a child page that shares member bio & contributions.

    For most of the categories, I do not want blog functionality (dates posted, commenting, dated URL, etc). A hierarchical model of pages and subpages would suit this work well, though if I can manage a workaround with the post model and achieve similar results than I will certainly try it!

    Right now, I’m confused by why I can set child-parent relationships on pages, but cannot seem to display children on the parent’s page nor add children to the parent’s menu item.

    Thanks for your help—I really appreciate it!

    Theme Author Ben Sibley

    (@bensibley)

    Got it, thanks for clarifying!

    Child pages in WordPress are relational, but don’t have any standard way of affecting the design or content on the site (besides creating a dropdown menu for an unset menu).

    If the site is going to be mostly static, this could be done in the editor. For instance, a Team page is created and child pages are created for each team member. Then the links to the team member pages can be added manually into the Team page. A plugin like Shortcodes Ultimate can be used to add icons, multi-column layouts, and other special content to improve the design of the page.

    A dynamic approach instead could be done with a page template. The Team page would use this template to loop through the child pages and output names, avatars, etc.

    The first approach will give you more control and be easier to edit in the future (no code required), but the dynamic approach will be much faster if you have a lot of pages like this to create.

    Thread Starter humancomputer

    (@humancomputer)

    Thanks for the suggestions. I will try a combination of these approaches (shortcodes, post archiving) to approach the layout I’m looking for.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page Gallery for Child Pages of Parent?’ is closed to new replies.