WordPress Plugin: Childpage Thumbnail Image Generator
This is a plugin I wrote which can find all of the child pages of the specified parent, or if used on a parent page looks for children automatically.
If there is an image, it will load a thumbnail. It actually does quite a bit of checking, if no childpages exist you’ll get a message, if no images exist on the child pages it uses the title instead. If your page has a Featured Image, it will use that first, before checking for image attachments to the page.
Download Plugin: bryans_childpages v 1.3
To use, simply download and install the folder into your plugins folder of WordPress. Then in a page which has children, type in
]. Links to the child pages should show up. If the pages have images, they will show up as a thumbnail. There are many options to sort, display by id, etc. to get this to work exactly how you want.
Here is the shortcode that I am using to create my motion page:
gallery_childpages height="160" size="medium" text_margin="130px 0 0 0" pagetitle="true"
Here is the shortcode that I am using to create my home page:
gallery_childpages height="70" size="medium" width="113" id="1290" exclude="2110" pagetitle="1" text_margin="0"
anges in version 1.3 is I have created a css stylesheet as part of the plugin to control common things like margins. This is helpful if you are using a responsive web design.