Skip to content

Commit c641795

Browse files
author
Sergey Belyaev
committed
Theme option copyright added
1 parent 3b1f642 commit c641795

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

acf_pro_snippets.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
<?php endif; ?>
2828

2929
<?php // ACF Theme options ?>
30+
<?php if ( $footer_copyright = get_field( 'footer_copyright', 'option' ) ) : ?>
31+
<div class="copy">
32+
<p><?php echo str_replace( '[year]', date( 'Y' ), $footer_copyright ); ?></p>
33+
</div>
34+
<?php endif; ?>
35+
3036
<?php if ( have_rows( 'social_links', 'option' ) ) : ?>
3137
<ul class="social-links">
3238
<?php while ( have_rows( 'social_links', 'option' ) ) : the_row(); ?>

0 commit comments

Comments
 (0)