如何编辑WordPress页面的html代码 [英] How to edit WordPress page's html code

查看:763
本文介绍了如何编辑WordPress页面的html代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在页面后面获得可编辑的html代码。我想对页面进行一些更改。网站托管在远程服务器中。有人分配了这个任务。




我还添加了插件并激活了它,但无法获得结果。

解决方案

您张贴的图片是WYSIWYG编辑器,仅用于向页面添加内容。



如果您想要要编辑页面本身的布局,您有2个选项 -



要在网站上的所有页面上显示的次要页面编辑 - 转到外观 - >编辑器 - >页面。然后编辑代码以满足您的需求。



大页面编辑出现在一两页 -




  • 访问文件

  • 用不同名称复制page.php

  • 编辑代码



当您添加新页面时,您应该有一个选择页面模板的选项。选择刚创建的页面模板。


I can't get editable html code behind the page. I want to make some changes to the page. Web site is hosted in the remote server. Someone assigned this task. There is empty editor when open edit page as below image.

Also I added plugin and actived it but can't get the result.

解决方案

The picture you posted is of the WYSIWYG editor, which is only for adding content to the page.

If you want to edit the layout of the page itself you have 2 options -

Minor page edits to appear across all pages on the site - Go to Appearance -> editor -> page.php and then edit the code to suite your needs.

Large page edits to appear on one or two pages -

  • Get access to the files
  • Duplicate page.php with a different name
  • Edit code

When you go to add a new page you should have an option to pick a page template. Choose the page template you just created.

这篇关于如何编辑WordPress页面的html代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆