Initial commit.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
if ( !defined( 'WPINC' ) ) {
|
||||
die;
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if ( is_active_sidebar( 'footer' ) ): ?>
|
||||
<ul class="footer-widgets">
|
||||
<?php dynamic_sidebar( 'footer' ); ?>
|
||||
</ul>
|
||||
<?php elseif ( user_can( get_current_user_id(), 'edit_theme_options' ) ): ?>
|
||||
<ul class="footer-widgets">
|
||||
<li class="panel widget footer-widget warning">
|
||||
<?php esc_html_e( 'Sorry, but no widgets were found in this area.', 'minimalistflex' ); ?>
|
||||
<?php esc_html_e( 'This message is displayed to administrators only.', 'minimalistflex' ); ?>
|
||||
</li>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user