-
-
Save andreiglingeanu/a4247633404b91499ddde767c7bb0439 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$class = 'ct-footer-copyright'; | |
$theme = wp_get_theme(); | |
$text = str_replace( | |
'{current_year}', | |
date("Y"), | |
blocksy_default_akg( | |
'copyright_text', | |
$atts, | |
__( | |
'Copyright © {current_year} {site_title} - Powered by {theme_author}', | |
'blocksy' | |
) | |
) | |
); | |
$text = str_replace( | |
'{site_title}', | |
get_bloginfo('name'), | |
$text | |
); | |
$text = str_replace( | |
'{theme_author}', | |
$theme->get('Author'), | |
$text | |
); | |
?> | |
<div | |
class="ct-footer-copyright" | |
data-font="custom" | |
<?php echo blocksy_attr_to_html($attr) ?>> | |
<?php echo $text ?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment