Child pages excerpts shown into parent content

  • epiphane


    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 :, 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 :

    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.



    Oh… So is there any way to put the child pages exceprt into the parent page ?



    Probably adding that code inside the parent page using the PHP-exec plugin could make it for you.



    Finally, I moved

    <?php get_template_part( 'loop', 'children' ); ?>


    <?php /* The full content */ ?>
    <?php the_content(); ?>

    in loop-page.php, and it works !

    Thanks for your quick answers and this great theme.

Viewing 8 posts - 1 through 8 (of 8 total)

  • You must be logged in to reply to this topic.
Graphene Themes Forum