Child pages excerpts shown into parent content
-
Hello, thanks for this amazing theme !
I played a lot with it in terms of design, and i’m stuck into something that should probably be easy for a Php user, which i’m not…
In this kind of page : http://www.deckit.fr/2012/terrasses/, I would like to show the child pages excerpt into the parent content, in the entry-bottom…
I tried to use PHP Widget into the Bottom Content hook, with this code :
<?php if(function_exists('child_pages_listing)){
echo child_pages_listing();
}
?>But it’s not working… Can you enlight me ?
Go to Graphene Options –> Child Page Options and select Show Listing in Child page listings
Please put your code between backticks.
Wow thanks for a so quick answer ! And I’m sorry for the backticks, did it too fast…
But the option was alreday set.
The child pages are visible, but i don’t want them to be below the content, but inside, at the end.
In this page, that will allow me to use the background of the content behind thoses excerpts and use a shadow all around : http://www.deckit.fr/2012/terrasses/
Do you think I can ?
The code you’ve mentioned does the same thing. It will not put your child pages inside the parent page.
Probably adding that code inside the parent page using the PHP-exec plugin could make it for you.
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.