' . esc_html( get_bloginfo( 'description', 'display' ) ) . '
';
}
}
if ( ! $echo ) {
return $html;
}
echo $html; // WPCS: XSS ok.
}
}
if ( ! function_exists( 'activatelife_primary_navigation' ) ) {
/**
* Display Primary Navigation
*
* @since 1.0.0
* @return void
*/
function activatelife_primary_navigation() {
?>
'
' . __( 'Pages:', 'activatelife' ),
'after' => '
',
)
);
?>
' . get_the_title() . ''
)
);
do_action( 'activatelife_post_content_after' );
wp_link_pages(
array(
'before' => '
' . __( 'Pages:', 'activatelife' ),
'after' => '
',
)
);
?>
%2$s';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '';
}
}
if ( ! function_exists( 'activatelife_header_container_close' ) ) {
/**
* The header container close
*/
function activatelife_header_container_close() {
echo '
';
}
}
if ( ! function_exists( 'activatelife_footer_container' ) ) {
/**
* The header container close
*/
function activatelife_footer_container() {
echo '';
}
}
if ( ! function_exists( 'activatelife_footer_container_close' ) ) {
/**
* The header container close
*/
function activatelife_footer_container_close() {
echo '
';
}
}
/**
* Output an inline SVG.
*
* @param string $filename The filename of the SVG you want to load.
*
* @return void
*/
function load_inline_svg( $filename ) {
ob_start();
locate_template(
array(
"assets/images/{$filename}",
),
true,
false
);
echo wp_kses(
ob_get_clean(),
array_merge(
wp_kses_allowed_html( 'post' ),
array(
'svg' => array(
'role' => true,
'width' => true,
'height' => true,
'fill' => true,
'xmlns' => true,
'viewbox' => true,
),
'path' => array(
'd' => true,
'fill' => true,
'fill-rule' => true,
'stroke' => true,
'stroke-width' => true,
'stroke-linecap' => true,
),
'g' => array(
'd' => true,
'fill' => true,
),
)
)
);
}
if ( ! function_exists( 'activatelife_mobile_navigation' ) ) {
/**
* Display Handheld Navigation
*
* @return void
* @since 1.0.0
*/
function activatelife_mobile_navigation() {
?>
' . get_comment_date() . ''; ?>