first commit
This commit is contained in:
23
template-parts/footer/copyright-text.php
Normal file
23
template-parts/footer/copyright-text.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* Template part for displaying the footer copyright text.
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package PressBook
|
||||
*/
|
||||
|
||||
$pressbook_copyright_text = PressBook\Options\Footer::get_copyright_text();
|
||||
?>
|
||||
|
||||
<div class="copyright-text">
|
||||
<div class="u-wrapper copyright-text-wrap">
|
||||
<?php
|
||||
if ( '' !== $pressbook_copyright_text ) {
|
||||
?>
|
||||
<p><?php echo wp_kses( $pressbook_copyright_text, PressBook\Options\Footer::copyright_text_allowed_tags() ); ?></p>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div><!-- .copyright-text-wrap -->
|
||||
</div><!-- .copyright-text -->
|
Reference in New Issue
Block a user