WordPress主题如何向管理页面添加HTML代码

我正在研究一个新的WP主题, 并且第一次涉足管理方面。我想向管理页面添加一些基本HTML, 例如” edit-tags.php”。我可以使用一个钩子, 还是用自己的版本替换此文件的方法?谢谢


#1


你想添加什么到edit-tags.php页面?在我看来, 在管理员中编辑页面似乎不是一个好主意, 但是如果需要, 可以使用load-{$ pagenow}钩子。 https://developer.wordpress.org/reference/hooks/load-pagenow/

来源:

https://www.srcmini02.com/64538.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_37429.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?