admin管理员组文章数量:1292646
Is it possible to change content in a "p" tag or "img" tag in my custom php template file, without going into code editor of the php file.
For example: If I give the website over to the client, they may not have the skillset to updated the php file, but it will be easier for them to update the content in Wordpress Dashboard.
Is it possible to change content in a "p" tag or "img" tag in my custom php template file, without going into code editor of the php file.
For example: If I give the website over to the client, they may not have the skillset to updated the php file, but it will be easier for them to update the content in Wordpress Dashboard.
Share Improve this question asked May 12, 2021 at 18:18 Anrich VigusAnrich Vigus 32 bronze badges 5- 1 Yes, you can put that text in a post meta if it's per page or an option if it's global to the site and then set up something on the dashboard to edit it. (I think this is easy to do with ACF but it's been a while since I used it, and plenty of other options are available, including writing the admin page for this yourself.) – Rup Commented May 12, 2021 at 19:13
- Is it just a custom template or a full on custom theme you built, because you could add stuff like this as options for the client to manage. – Tony Djukic Commented May 13, 2021 at 0:09
- @rup Thank you so much, I'll have a look into this :) – Anrich Vigus Commented May 13, 2021 at 6:51
- @TonyDjukic It's an Elementor theme, but I had to build a custom wordpress blog system – Anrich Vigus Commented May 13, 2021 at 6:52
- So did you build it as a custom plugin? And why would you need a custom WordPress Blog System for WordPress? – Tony Djukic Commented May 13, 2021 at 16:40
1 Answer
Reset to default 1Yes.
Look into Custom Fields, or use the excellent Advanced Custom Fields plugin as Rup mentioned
本文标签: Is it possible to change content in my PHP file from WordPress dashboard
版权声明:本文标题:Is it possible to change content in my PHP file from WordPress dashboard 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741557360a2385237.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论