最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Why can’t I edit HTML in WordPress even with the administrator role?

programmeradmin0浏览0评论

I am using WordPress. I need to edit the HTML code of the page. Not page.php.

When I go to .php?post=448&action=edit, I see this:

And after some time shows this message:

“You are not able to…”

My role is administrator. If there are other ways to edit the HTML or to correct the error please let me know.

I am using WordPress. I need to edit the HTML code of the page. Not page.php.

When I go to http://example/wp-admin/post.php?post=448&action=edit, I see this:

And after some time shows this message:

“You are not able to…”

My role is administrator. If there are other ways to edit the HTML or to correct the error please let me know.

Share Improve this question asked Jan 12, 2021 at 10:47 LoremLorem 134 bronze badges 0
Add a comment  | 

1 Answer 1

Reset to default 1

You are using the WP Element plugin to control your content, as such HTML editing is disabled because the HTML source is basically impossible to edit by hand, as it contains all the format, content, blocks ( json ) and other configuration options which are stored together in the post_content.

Perhaps you can create new pages and not assign them to be edited with Element, this would then allow you access to edit the HTML.

发布评论

评论列表(0)

  1. 暂无评论