';
echo '
' . _n( 'Recently earned badge', 'Recently earned badges', $achievement_count, 'buddyx' ) . '
';
echo '
' . $achievements . '
';
echo '
';
}
}
}
/**
* Function Footer Custom Text
*/
if ( ! function_exists( 'buddyx_footer_custom_text' ) ) {
/**
* Function Footer Custom Text
*
* @since 1.0.14
* @param string $option Custom text option name.
* @return mixed Markup of custom text option.
*/
function buddyx_footer_custom_text() {
$copyright = esc_html( get_theme_mod( 'site_copyright_text' ) );
$output = $copyright;
if ( '' != $output ) {
$output = str_replace( '[current_year]', date_i18n( 'Y' ), $output );
$output = str_replace( '[site_title]', '', $output );
$theme_author = apply_filters(
'buddyx_theme_author',
array(
'theme_name' => __( 'BuddyX WordPress Theme', 'buddyx' ),
'theme_author_url' => esc_url( 'https://wbcomdesigns.com/downloads/buddyx-theme/' ),
)
);
$output = str_replace( '[theme_author]', '