• Hi there!

    I’m programming a website out of the blank_theme called _s (underscore).

    I want to show the older Articles on another page called Archives. So far I reached that older articles are listed as links(titles). But I want them to be display completley like on the Article page.

    I found many solutions for it but none of it suited my theme.
    e.g. the is no file in the theme called loop.php etc.

    Anyone with experience with this theme?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi fidessi,

    Is this is your theme? https://github.com/automattic/_s

    if yes, then you will need to modify file named ‘content.php’ and edit this code:

    ‘<?php if ( is_search() ) : // Only display Excerpts for Search ?>
    <div class=”entry-summary”>
    <?php the_excerpt(); ?>
    </div><!– .entry-summary –>’

    change ‘<?php the_excerpt(); ?>’ become ‘<?php the_content(); ?>’

    Thread Starter fidessi

    (@fidessi)

    Hi shinjing,

    unfortunatly it doesn’t work.

    I think it must be related to the content-page.php file that I use to display all static pages and also for the page Archives.

    In this file I have the code for the archives

    <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <header class=”entry-header”>
    <h3 class=”entry-title”><?php the_title(); ?></h3>
    </header><!– .entry-header –>

    <div class=”entry-content”>
    <?php the_content(); ?>

    <?php if (‘archives’ == $post->post_name) : ?>

      <?php wp_get_archives(‘type=postbypost’); ?>

    <?php endif; ?>

    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-links”>’ . __( ‘Pages:’, ‘kunsthalle’ ), ‘after’ => ‘</div>’ ) ); ?>
    </div><!– .entry-content –>
    </article><!– #post-<?php the_ID(); ?> –>

    I also tried to erase the

    ‘ul’ tag, but it didn’t help.
    Maybe this code has to be changed?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show full post on Archive Site’ is closed to new replies.