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

Add a second rich text input to post editor, and make that content available in post template

programmeradmin0浏览0评论

As per title, I want to add a second rich text editor (or whatever that's called now?) to the Post edit page, and then allow the content from that to be easily insertable inside any Post template page.

I've found a couple of references of how to do this, this one particularly is the same question, but from a long time ago with now outdated answers.

Thanks!

As per title, I want to add a second rich text editor (or whatever that's called now?) to the Post edit page, and then allow the content from that to be easily insertable inside any Post template page.

I've found a couple of references of how to do this, this one particularly is the same question, but from a long time ago with now outdated answers.

Thanks!

Share Improve this question asked Jun 13, 2020 at 10:23 mozbozmozboz 2,6281 gold badge12 silver badges23 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Going to leave the question, but I've just found that this is extremely easily achievable with Custom Fields if you don't want rich text, and the Advanced Custom Fields plugin if you do.

The fields are setup with ACF's UI in the WP control panel, and then inserted in the page with simply:

the_field('field_id');
发布评论

评论列表(0)

  1. 暂无评论