I have a page called 'Artists' which has a few subpages.
On the Artists page, I'd like to list all its subpages as headings with content up to the <!--more--> tag.
Like listing posts excerpts in an archive or a category page.
Can this be done?
I have a page called 'Artists' which has a few subpages.
On the Artists page, I'd like to list all its subpages as headings with content up to the <!--more--> tag.
Like listing posts excerpts in an archive or a category page.
Can this be done?
Yes it can be done, but you might need to create a template for these kind of pages only. The information you are looking for is inside the codex of wordpress. You can find codex on http://codex.wordpress.org/. What you are looking for is called "the loop". You must create your own query that you use in the loop then. That is done with WP_Query then. Do not forget to gather the needed Information about Templates as well.
Cheers. I found a plugin that seems to do what I want.
http://blog.ftwr.co.uk/wordpress/query-child-of-page/
I also used another plugin the_excerpt_reloaded to get the content of the sub pages.
http://guff.szub.net/2005/02/26/the_excerpt-reloaded/
<?php the_excerpt_reloaded(0, '<img>', 'content', false, '(More)', true, 2, true); ?>
I want to do exactly the same thing. I have already tried the Sublist plugin but it doesn't work and it breaks the layout. What version of WordPress are you using? I am using 2.5.
This topic has been closed to new replies.