• Hi all, I am an extreme novice to website builing; however, I would love to know how to get the content from a childpage to show up on a parent page. The domain I am using to learn this concept is https://www.winnwin.info. Could someone provide me assistance? Thank you all so much, and I hope you have a fantastic weekend!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You’d need PHP knowledge to accomplish this.

    Use the get_children function for the parent page and loop through the returned results.

    But if you’re doing all of this from the Post Editor then you need to create a custom shortcode for this to work. Something like this plugin could also work in conjunction with the get_children function https://www.ads-software.com/plugins/php-code-for-posts/.

    I’d recommend looking at the examples for the get_children function to get an idea of how to loop through the posts correctly.

    Thread Starter bmwinn

    (@bmwinn)

    Sunny, I was able to create a page in my template to grab the funchtion. However, I am having trouble with the new Page template.php to show up in my dropdown menu. Would you be able to assist with this?

    Thread Starter bmwinn

    (@bmwinn)

    All done ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Child Page Content on Parent Page Content’ is closed to new replies.