• Is it possible to present an archive page similar to a grid page, meaning post (excerpts and featured images) are presented the way child pages are on a parent page with the grid template?

    I guess it is possible by coding the but I have no idea how I had to do it.

    Any hints are welcome and I’m gladly trying myself after an initial hint or two.

    Thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Hi there – to point you in the right direction, take a look at the grid styles in this section of the stylesheet:
    11.3 – Grid Page – as well as any styles with grid-area in them.

    Thread Starter chzumbrunnen

    (@chzumbrunnen)

    Thanks Kathryn

    I got somehow close by creating an archive.php page for a child theme and altering it like this:

    <div class="grid-area">
    					<div class="wrapper clear">        
    
                            <?php /* Start the Loop */ ?>
                            <?php while ( have_posts() ) : the_post(); ?>
    
                                <?php
                                    /* Include the Post-Format-specific template for the content.
                                     * If you want to override this in a child theme, then include a file
                                     * called content-___.php (where ___ is the Post Format name) and that will be used instead.
                                     */
                                    // get_template_part( 'content', get_post_format() );
                                    get_template_part( 'content', 'grid' );
                                ?>
    
                            <?php endwhile; ?>
    
    					</div><!-- .wrapper -->
    				</div><!-- .grid-area -->

    It looks like this with featured images:
    http://www.screencast.com/t/dnfXN8LvCY

    and like this without featured images in the post:
    http://www.screencast.com/t/xa1sOf4S3F

    but it should rather look like so
    http://www.screencast.com/t/a8xilIUdf5YF

    That’s how it looks for sub pages.

    Probably it’s jus something not nested correctly .

    I will have to try harder 😉

    Moderator Kathryn Presner

    (@zoonini)

    Cool! Keep at it, and let me know once the site is up on a test server or somewhere if you’d like some eyes on it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Grid Page for posts (archive)’ is closed to new replies.