magic /wp-content/themes/nonus/templates/post_single/content-link.php

Language PHP Lines 17
MD5 Hash cbc531d4b6e03ff693de4f8fb6c029be
Repository https://github.com/alniko009/magic.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<?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>
Back to Top