' . esc_html( get_bloginfo( 'description', 'display' ) ) . '
';
}
}
if ( ! $echo ) {
return $html;
}
echo $html;
}
}
if ( ! function_exists( 'azonbooster_get_sidebar' ) ) {
/**
* Display azonbooster sidebar
*
* @uses get_sidebar()
* @since 1.0.0
*/
function azonbooster_get_sidebar() {
get_sidebar();
}
}
if ( ! function_exists( 'azonbooster_page_header' ) ) {
/**
* Display the page header
*
* @since 1.0.0
*/
function azonbooster_page_header() {
?>
'
' . __( 'Pages:', 'azonbooster' ),
'after' => '
',
) );
?>
' . get_the_title() . ''
)
);
}
do_action( 'azonbooster_post_content_after' );
wp_link_pages( array(
'before' => '
' . __( 'Pages:', 'azonbooster' ),
'after' => '
',
) );
?>
%3$s', $position, $link , $label);
}
}
if ( ! function_exists( 'azonbooster_post_nav' ) ) {
/**
* Display navigation to next/previous post when applicable.
*/
function azonbooster_post_nav() {
$show_post_nav = apply_filters('azonbooster_show_post_nav', true);
if ( $show_post_nav ) {
$args = array(
'next_text' => '%title',
'prev_text' => '%title',
);
the_post_navigation( $args );
}
}
}
if ( ! function_exists( 'azonbooster_paging_nav' ) ) {
/**
* Display navigation to next/previous set of posts when applicable.
*/
function azonbooster_paging_nav() {
global $wp_query;
$args = array(
'type' => 'list',
'next_text' => _x( 'Next', 'Next post', 'azonbooster' ),
'prev_text' => _x( 'Previous', 'Previous post', 'azonbooster' ),
);
the_posts_pagination( $args );
}
}
if ( ! function_exists( 'azonbooster_footer_widgets' ) ) {
/**
* Display the footer widget regions.
*
* @since 1.0.0
* @return void
*/
function azonbooster_footer_widgets() {
$rows = intval( apply_filters( 'azonbooster_footer_widget_rows', 2 ) );
$regions = intval( apply_filters( 'azonbooster_footer_widget_columns', 4 ) );
for ( $row = 1; $row <= $rows; $row++ ) :
// Defines the number of active columns in this footer row.
for ( $region = $regions; 0 < $region; $region-- ) {
if ( is_active_sidebar( 'footer-' . strval( $region + $regions * ( $row - 1 ) ) ) ) {
$columns = $region;
break;
}
}
if ( isset( $columns ) ) : ?>