Professional Documents
Culture Documents
php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package AccessPress Ray
*/
?>
<?php
global $post, $accesspress_ray_options;
$accesspress_ray_settings = get_option( 'accesspress_ray_options',
$accesspress_ray_options );
?>
</div><!-- #content -->
<footer id="colophon">
<?php
if ( is_active_sidebar( 'footer-1' ) || is_active_sidebar( 'footer-
2' ) || is_active_sidebar( 'footer-3' ) || is_active_sidebar( 'footer-4' ) ) : ?>
<div id="top-footer">
<div class="ak-container">
<div class="footer1 footer">
<?php if ( is_active_sidebar( 'footer-1' ) ) : ?>
<?php dynamic_sidebar( 'footer-1' ); ?>
<?php endif; ?>
</div>
<div id="bottom-footer">
<div class="ak-container">
<div class="footer-wrap clearfix">
<div class="copyright">
<?php esc_html_e('Copyright', 'accesspress-ray'); ?>
© <?php echo esc_html(date('Y')); ?>
<a href="<?php echo esc_url(home_url()); ?>">
<?php if(!
empty($accesspress_ray_settings['footer_copyright'])){
echo
wp_kses_post($accesspress_ray_settings['footer_copyright']);
}else{
echo bloginfo('name');
} ?>
</a>. <a href="<?php echo
esc_url( 'http://wordpress.org/' ); ?>"><?php /* translators: %s : wordpress title
*/ printf( esc_html__( 'Powered by %s', 'accesspress-ray' ), 'WordPress' ); ?></a>
<span class="sep"> | </span>
<?php esc_html_e( 'Theme:', 'accesspress-ray' ) ?> <a
href="<?php echo esc_url('http://accesspressthemes.com/');?>" title="AccessPress
Themes" target="_blank">AccessPress Ray</a>
</div><!-- .copyright -->
</div><!-- .footer-wrap -->