This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
studentersamfundet.no/dns2015/loop-page.php
T
nikolark 969c63c752 New style wordpress
This enables automagic updates of WP

- Delete wordpress install
- Move theme(s) to top
- Move local plugins to ./plugins
- Simplify i18n
2017-07-05 01:03:17 +02:00

16 lines
903 B
PHP

<?php if( have_posts() ) : while( have_posts() ) : the_post(); ?>
<article <?php neuf_post_class(); ?>>
<h1 class="entry-title"><?php the_title(); ?></h1>
<span class="vcard author microformat-invisible"><span class="fn"><?php the_author_link(); ?></span></span>
<time class="published microformat-invisible" datetime="<?php the_time('c'); ?>"><?php the_time('c'); ?></time>
<time class="updated microformat-invisible" datetime="<?php the_modified_date('c'); ?>"><?php the_modified_date('c'); ?></time>
<?php the_post_thumbnail( 'large' , array( 'style' => 'display:block;margin:auto;' ) ); ?>
<p class="wp-caption-text gallery-caption"><?php echo get_post( get_post_thumbnail_id() )->post_excerpt; ?></p>
<div class="entry-content"><?php the_content(); ?></div> <!-- .entry-content -->
</article> <!-- .hentry -->
<?php endwhile; endif; ?>