首页 > 解决方案 > xmapp 仅显示后端代码

问题描述

我的 xampp 工作正常,直到最近我的 apache 出现问题,所以我在 httpd-xampp 文件中注释掉了 php5ts.dll 和 php5apache2_4.dll,之后,当我运行我的程序时,浏览器会自动处理它并显示前端设计旁边的后端代码。另一方面,当我打开我的 WordPress 文件时,它只会显示后端代码。请我知道是否有什么我可以做的。

这是我打开 WordPress 时浏览器向我显示的内容“欢迎来到您的 WordPress 仪表板!这是您登录网站时将看到的屏幕,您可以访问 WordPress 的所有网站管理功能。您可以通过单击屏幕标题上方的帮助选项卡来获取任何屏幕的帮助。) . ' '; $screen = get_current_screen(); $screen->add_help_tab( array( 'id' => 'overview', 'title' => __( 'Overview' ), 'content' => $help, ) ); // 帮助选项卡 $help = ' ' . __( '左侧导航菜单提供所有 WordPress 管理屏幕的链接,子菜单项在悬停时显示。您可以通过单击将此菜单最小化为窄图标条在底部的折叠菜单箭头上。')。'

'; $help .= ' ' 。__( '屏幕顶部工具栏中的链接将您的仪表板和网站前端连接起来,并提供对您的个人资料和有用的 WordPress 信息的访问。') . '

'; $screen->add_help_tab( array( 'id' => 'help-navigation', 'title' => __( 'Navigation' ), 'content' => $help, ) ); $帮助=''。__( '您可以使用以下控件来安排仪表板屏幕以适应您的工作流程。在大多数其他管理屏幕上也是如此。' ) . '

'; $help .= ' ' 。__( '屏幕选项 - 使用屏幕选项选项卡选择要显示的仪表板框。') . '

'; $help .= ' ' 。__( '拖放 - 要重新排列框,请通过单击所选框的标题栏进行拖放,并在您看到要放置框的位置出现灰色虚线矩形时释放。') . '

'; $help .= ' ' 。__( 'Box Controls - 单击框的标题栏以展开或折叠它。插件添加的某些框可能具有可配置的内容,如果将鼠标悬停在标题栏中,则会在标题栏中显示“配置”链接。') . '

'; $screen->add_help_tab( array( 'id' => 'help-layout', 'title' => __( 'Layout' ), 'content' => $help, ) ); $帮助=''。__( '仪表板屏幕上的框是:' ) . '

'; if ( current_user_can( 'edit_posts' ) ) $help .= ' ' 。__( '概览 - 显示您网站上的内容摘要,并确定您正在使用的 WordPress 主题和版本。') . '

'; $help .= ' ' 。__( '活动 - 显示即将发布的预定帖子、最近发布的帖子以及对您的帖子的最新评论,并允许您对其进行审核。') . '

'; if ( is_blog_admin() && current_user_can( 'edit_posts' ) ) $help .= ' ' 。__(“快速草稿 - 允许您创建新帖子并将其保存为草稿。还显示指向您最近开始的 5 个草稿帖子的链接。”) . '

'; if ( !is_multisite() && current_user_can( 'install_plugins' ) ) $help .= ' ' 。sprintf( /* 翻译者: %s: WordPress Planet URL */ __( 'WordPress News - 来自官方 WordPress 项目、WordPress Planet 和流行插件的最新消息。' ), __( ' https://planet.wordpress.组织/ '))。'

'; 否则 $help .= ' ' 。sprintf( /* 翻译者: %s: WordPress Planet URL */ __( 'WordPress News - 来自官方 WordPress 项目和 WordPress Planet 的最新消息。' ), __( ' https://planet.wordpress.org/ ' ) ) . '

'; if ( current_user_can( 'edit_theme_options' ) ) $help .= ' ' 。__( 'Welcome - 在设置新站点时显示一些最常见任务的链接。' ) . '

'; $screen->add_help_tab( array( 'id' => 'help-content', 'title' => __( 'Content' ), 'content' => $help, ) ); 未设置($帮助);$screen->set_help_sidebar( ' ' . __( '更多信息:' ) . '

' . ' ' 。__( '仪表板上的文档' ) . '

' . ' ' 。__(“支持论坛”)。'

'); 包括(ABSPATH。'wp-admin/admin-header.php');?> user_email != get_option( 'admin_email' ) ); if ( $hide ) $classes .= '隐藏'; ?>“”

标签: phpwordpressapachexampp

解决方案


推荐阅读