'.get_bloginfo( 'name', 'display' ).'
';
if ( is_front_page() ) :
$output .= '
' . $link . '
';
else :
$output .= '' . $link . '
';
endif;
return $output;
}
function benjamin_nav_title() {
echo benjamin_get_benjamin_nav_title(); // WPCS: xss ok.
}
// toggles the dark and light themes
function benjamin_navbar_header_class() {
$color = get_theme_mod('navbar_color_setting', 'light');
$color = 'usa-header--'.$color;
return $color;
}
/**
* Navigate through pages of the feed
*/
function benjamin_get_the_posts_navigation() {
$args = array(
'prev_text' => ' Older Posts',
'next_text' => 'Newer Posts '
);
return get_the_posts_navigation($args);
}
function benjamin_the_posts_navigation() {
echo benjamin_get_the_posts_navigation(); // WPCS: xss ok.
}