wordpress   发布时间:2022-05-06  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了解决WordPress 4.2版本后台显示选项无法打开的问题大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

站长朋友们在使用的过程中,当把WordPress升级到4.2中文版本以后,会出现在后台外观的菜单选项卡里显示选项无法打开的问题。

解决方法有以下两种。

1. 用之前版本的相关文件替换使用。

找到之前版本里的nav-menus.php文件,路径在/wp-admin/目录,通过FTP上传到网站对应目录,替换相应文件即可。

如果不方便去之前的版本中查找,您可以点击下方的按钮下载nav-menus.php文件

2. 关掉显示选项旁边的帮助选项卡可以解决显示选项打不开的问题。

切换到主题目录,打开functions.PHP添加以下@L_675_8@:

Crayon-5c891d01ad029473746888" class="Crayon-Syntax Crayon-theme-classic Crayon-font-monaco Crayon-os-pc print-yes notranslate" data-setTings=" minimize scroll-mouSEOver" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
Crayon-toolbar" data-setTings=" mouSEOver overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">Crayon-title">functions.PHP
Crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
Crayon-button Crayon-nums-button" title="Toggle Line numbers">
Crayon-button-icon">
Crayon-button Crayon-plain-button" title="Toggle Plain Code">
Crayon-button-icon">
Crayon-button Crayon-wrap-button" title="Toggle Line Wrap">
Crayon-button-icon">
Crayon-button Crayon-expand-button" title="Expand Code">
Crayon-button-icon">
Crayon-button Crayon-copy-button" title="Copy">
Crayon-button-icon">
Crayon-button Crayon-popup-button" title="Open Code In New Window">
Crayon-button-icon">
Crayon-language">PHP
Crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
Crayon-plain-wrap">
Crayon-main" style="">Crayon-table">Crayon-row">
Crayon-nums " data-setTings="show">
Crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
Crayon-num" data-line="Crayon-5c891d01ad029473746888-1">1
Crayon-num Crayon-Striped-num" data-line="Crayon-5c891d01ad029473746888-2">2
Crayon-num" data-line="Crayon-5c891d01ad029473746888-3">3
Crayon-num Crayon-Striped-num" data-line="Crayon-5c891d01ad029473746888-4">4
Crayon-num" data-line="Crayon-5c891d01ad029473746888-5">5
Crayon-num Crayon-Striped-num" data-line="Crayon-5c891d01ad029473746888-6">6
Crayon-code">
Crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
Crayon-line" id="Crayon-5c891d01ad029473746888-1">Crayon-c">//~ 解决wordpress 4.2版造成的顶部菜单无法打开问题
Crayon-line Crayon-Striped-line" id="Crayon-5c891d01ad029473746888-2">Crayon-t">functionCrayon-h"> Crayon-e">uctheme_remove_Help_tabsCrayon-sy">(Crayon-v">$old_HelpCrayon-sy">,Crayon-h"> Crayon-v">$screen_idCrayon-sy">,Crayon-h"> Crayon-v">$screenCrayon-sy">)Crayon-sy">{
Crayon-line" id="Crayon-5c891d01ad029473746888-3">Crayon-h">Crayon-v">$screenCrayon-e">remove_Help_tabsCrayon-sy">(Crayon-sy">)Crayon-sy">;
Crayon-line Crayon-Striped-line" id="Crayon-5c891d01ad029473746888-4">Crayon-h">Crayon-k ">returnCrayon-h"> Crayon-v">$old_HelpCrayon-sy">;
Crayon-line" id="Crayon-5c891d01ad029473746888-5">Crayon-sy">}
Crayon-line Crayon-Striped-line" id="Crayon-5c891d01ad029473746888-6">Crayon-e">add_filterCrayon-sy">(Crayon-s">'contextual_Help'Crayon-sy">,Crayon-h"> Crayon-s">'uctheme_remove_Help_tabs'Crayon-sy">,Crayon-h"> Crayon-cn">10Crayon-sy">,Crayon-h"> Crayon-cn">3Crayon-h"> Crayon-sy">)Crayon-sy">;

大佬总结

以上是大佬教程为你收集整理的解决WordPress 4.2版本后台显示选项无法打开的问题全部内容,希望文章能够帮你解决解决WordPress 4.2版本后台显示选项无法打开的问题所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: