© %1$s %2$s • %4$s %5$s',
date( 'Y' ),
get_bloginfo( 'name' ),
esc_url( SHESHA_THEME_URL ),
_x( 'Powered by', 'WPKoi', 'shesha' ),
__( 'WPKoi', 'shesha' )
);
echo apply_filters( 'shesha_copyright', $copyright ); // WPCS: XSS ok.
}
}
/**
* Build our individual footer widgets.
* Displays a sample widget if no widget is found in the area.
*
*
* @param int $widget_width The width class of our widget.
* @param int $widget The ID of our widget.
*/
function shesha_do_footer_widget( $widget_width, $widget ) {
$widget_width = apply_filters( "shesha_footer_widget_{$widget}_width", $widget_width );
$tablet_widget_width = apply_filters( "shesha_footer_widget_{$widget}_tablet_width", '50' );
?>
%5$s
',
esc_attr__( 'Scroll back to top', 'shesha' ),
absint( apply_filters( 'shesha_back_to_top_scroll_speed', 400 ) ),
absint( apply_filters( 'shesha_back_to_top_start_scroll', 300 ) ),
esc_attr( apply_filters( 'shesha_back_to_top_icon', 'fa-angle-up' ) ),
esc_html__( 'Scroll back to top', 'shesha' )
) );
}
}
add_action( 'shesha_after_footer', 'shesha_side_padding_footer', 5 );
/**
* Add holder div if sidebar padding is enabled
*
*/
function shesha_side_padding_footer() {
$shesha_settings = wp_parse_args(
get_option( 'shesha_spacing_settings', array() ),
shesha_spacing_get_defaults()
);
$fixed_side_content = shesha_get_setting( 'fixed_side_content' );
$socials_display_side = shesha_get_setting( 'socials_display_side' );
if ( ( $shesha_settings[ 'side_top' ] != 0 ) || ( $shesha_settings[ 'side_right' ] != 0 ) || ( $shesha_settings[ 'side_bottom' ] != 0 ) || ( $shesha_settings[ 'side_left' ] != 0 ) ) { ?>