搜外网>搜外问答>问答页面

懂代码的来:wordpress.怎么设置文章页不调用站点标题 悬赏1元 已结束

这是后台header代码

global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow,

$update_title, $total_update_count, $parent_file;

// Catch plugins that include admin-header.php before admin.php completes.

if ( empty( $current_screen ) ) {

set_current_screen();

}

get_admin_page_title();

$title = esc_html( strip_tags( $title ) );

if ( is_network_admin() ) {

/* translators: Network admin screen title. %s: Network title. */

$admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_network()->site_name ) );

} elseif ( is_user_admin() ) {

/* translators: User dashboard screen title. %s: Network title. */

$admin_title = sprintf( __( 'User Dashboard: %s' ), esc_html( get_network()->site_name ) );

} else {

$admin_title = get_bloginfo( 'name' );

}

if ( $admin_title == $title ) {

/* translators: Admin screen title. %s: Admin screen name. */

$admin_title = sprintf( __( '%s — WordPress' ), $title );

} else {

/* translators: Admin screen title. 1: Admin screen name, 2: Network or site name. */

$admin_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, $admin_title );

}

if ( wp_is_recovery_mode() ) {

/* translators: %s: Admin screen title. */

$admin_title = sprintf( __( 'Recovery Mode — %s' ), $admin_title );

}

追加问题
    6 人参与回答
最佳回答

只能自已改代码,你看我的站,是不是实现了你想要的

渴望
渴望 · 铝灰球磨机-铝灰分离机-炒灰机-方正铝灰设备制造厂家

你这是定义的代码  ?怎么没头部代码,

河北哈哈
河北哈哈 · 快手运营交流群:272176672 本群主要是交流小视频如何运营,如何宣传,如何变现等方面!

这个平台上真没多少懂代码的,基本都是网站编辑人员集中地,发文章,外链内链,别的会的根本不多

SEO培训招生中
189