' . get_the_author() . ''; } elseif ( is_year() ) { $title = get_the_date( _x( 'Y', 'yearly archives date format','atrium-lite' ) ); } elseif ( is_month() ) { $title = get_the_date( _x( 'F Y', 'monthly archives date format','atrium-lite' ) ); } elseif ( is_day() ) { $title = get_the_date( _x( 'F j, Y', 'daily archives date format','atrium-lite' ) ); } elseif ( is_post_type_archive() ) { $title = post_type_archive_title( '', false ); } elseif ( is_tax() ) { $title = single_term_title( '', false ); } else { $title = esc_html__( 'Archives', 'atrium-lite' ); } return $title; }; add_filter( 'get_the_archive_title', 'atrium_get_the_archive_title', 10, 1 ); function atrium_skip_link() { echo '' . esc_html__( 'Skip to the content', 'atrium-lite' ) . ''; } add_action( 'wp_body_open', 'atrium_skip_link', 5 ); // display custom admin notice function atrium_notice() { global $current_user; $user_id = $current_user->ID; if (!get_user_meta($user_id, 'atrium_notice_ignore')) { echo '
'. esc_html__('Thanks for installing Atrium Lite! Want more features?', 'atrium-lite') .' '. esc_html__('Check Out the Pro Version →', 'atrium-lite') .'Dismiss Notice