Skip to content

Commit 56fecca

Browse files
authored
Update footer.php
1 parent e990b1b commit 56fecca

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

footer.php

+9-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,15 @@
6060
<div id="copyright">
6161
<div class="inner">
6262

63-
<div class="copyright-left">
64-
&copy; <?php echo date("Y"); ?> <?php echo get_bloginfo( 'name' ); ?>. Powered by <a rel="nofollow" href="https://hovercraft.vip">HoverCraft</a>.
65-
<div class="clear"></div>
66-
</div><!-- copyright-left -->
63+
<div class="copyright-left">
64+
&copy; <?php echo date("Y"); ?> <?php echo get_bloginfo( 'name' ); ?>.
65+
<?php
66+
$license_key = get_theme_mod( 'hovercraft_license_key' );
67+
if ( empty( $license_key ) || ( function_exists( 'hovercraft_validate_license_key' ) && ! hovercraft_validate_license_key( $license_key ) ) ) : ?>
68+
Powered by <a rel="nofollow" href="https://hovercraft.vip">HoverCraft</a>.
69+
<?php endif; ?>
70+
<div class="clear"></div>
71+
</div><!-- copyright-left -->
6772

6873
<?php if ( is_active_sidebar('hovercraft_copyright')) { ?>
6974
<div class="copyright-right">

0 commit comments

Comments
 (0)