Home Forums Bee WordPress Theme Website description does not show up Reply To: Website description does not show up

#6806

inoxcity
Participant

Could you tell me exactly what I have to change to make my description work? Unfortunately, I have little understanding of the coding. Or should I seek proffesional help?

Function:

function ux_custom_title( $title, $sep ) {
	global $paged, $page;

	if ( is_feed() )
		return $title;

	$title .= get_bloginfo( 'name' );

	$site_description = get_bloginfo( 'description', 'display' );
	if ( $site_description && ( is_home() || is_front_page() ) )
		$title = "$title $sep $site_description";

	if ( $paged >= 2 || $page >= 2 )
		$title = "$title $sep " . sprintf( __( 'Page %s', 'ux' ), max( $paged, $page ) );

	return $title;
}
add_filter('wp_title','ux_custom_title',10, 2 );