Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="post col-xs-12 col-sm-12 col-md-9">
- <div class="post-content">
- <h4><?php the_title(); ?></h4>
- <div class="format_text"><?php the_excerpt(); ?></div>
- <?php
- if( date('Yz') == get_the_time('Yz') ) {
- $date = __('Idag','mbp').' '.get_the_time('h:i');
- } else {
- $date = get_the_time('Y-m-d');
- }
- ?>
- <div class="date"><?php _e('Publicerad', 'mbp'); ?>: <span> <?php echo $date; ?></span></div>
- <div class="author"><?php echo __('Publicerad av', 'mbp').': <span>'.get_the_author() ?></span></div>
- <div class="regulatory"><span><?php echo $post->IsRegulatory; ?></span></div>
- <a class="link" href="<?php echo get_permalink(get_the_ID()); ?>"><?php _e('Läs artikeln', 'mbp') ?></a>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement