-
Notifications
You must be signed in to change notification settings - Fork 6
/
footer.php
34 lines (32 loc) · 1.41 KB
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/**
* @package WordPress
* @subpackage Tersus
*/
?>
<footer>
<?php
if (get_option('tersus_footer_display') == "1"):
$tersus_footer_text = get_option('tersus_footer_text');
echo (stripslashes($tersus_footer_text));
endif;
if (get_option('tersus_theme_information') == "1"): ?>
<ul>
<li>Powered by <a href="https://wordpress.org/" rel="external" title="Code is poetry.">WordPress <?php bloginfo('version'); ?></a></li>
<li>Themed by <a href="<?php echo THEME_URI; ?>" rel="external" title="<?php echo THEME_DESCRIPTION; ?>"><?php echo THEME_NAME; ?> <?php echo THEME_VERSION; ?></a></li>
<?php if (defined('CHILD_THEME_NAME')): ?>
<li>Styled by <a href="<?php echo CHILD_THEME_URI; ?>" rel="external" title="<?php echo CHILD_THEME_DESCRIPTION; ?>"><?php echo CHILD_THEME_NAME; ?> <?php echo CHILD_THEME_VERSION; ?></a></li>
<?php endif; ?>
</ul>
<?php endif; ?>
<ul>
<li>Subscribe to <a href="<?php bloginfo('rss2_url'); ?>" rel="alternate" title="Feed me.">all posts</a> (RSS)</li>
<li>Subscribe to <a href="<?php bloginfo('comments_rss2_url'); ?>" rel="alternate" title="Feed me.">all comments</a> (RSS)</li>
<?php if (is_singular()): ?>
<li>Subscribe to <a href="<?php echo get_post_comments_feed_link(); ?>" rel="alternate" title="Feed me.">comments for this page only</a> (RSS)</li>
<?php endif; ?>
</ul>
</footer>
<?php wp_footer(); ?>
</body>
</html>