/wp-content/themes/nonus/templates/post_single/content-link.php
PHP | 17 lines | 15 code | 2 blank | 0 comment | 2 complexity | cbc531d4b6e03ff693de4f8fb6c029be MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
- <?php get_template_part('templates/post_single/content-meta'); ?>
- <div class="post-content">
- <?php if (ct_get_option("posts_single_show_title", 1)): ?>
- <?php $link = get_post_meta($post->ID, 'link', true); ?>
- <h2 class="post-title">
- <a href="<?php echo $link; ?>"><?php the_title(); ?></a>
- </h2>
- <?php endif;?>
- <div class="post-abstract">
- <?php if (ct_get_option("posts_single_show_content", 1)): ?>
- <p><?php the_content();?></p>
- <?php wp_link_pages(array('before' => '<nav class="pager">', 'after' => '</nav>')); ?>
- <?php endif;?>
- </div>
- </div>