How do I create different editable sections within a WordPress page?

后端 未结 7 2057
日久生厌
日久生厌 2021-01-30 00:44

I have been building my first theme on WordPress and have run into problem while adding content into different sections.

My HTML is somewhat like this,

&         


        
7条回答
  •  春和景丽
    2021-01-30 01:43

    Was struggling with this, and did not want to use a plugin. The only WordPress native option I found was to use Custom Fields. This works, but only for text, and is rather cumbersome.

    The other non-plugin option is to simply use HTML in the WordPress editor, but this is of course far from ideal either.

    Finally I gave up, and opted for the Advanced Custom Fields plugin as well.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题