wordpress创建具有多个条目的元框(wordpress create meta box with multiple entries)
我正在尝试为我的wordpress主题创建一个元框,我可以在其中添加国家/地区。 每个国家/地区都有一组字段,如姓名,人口,国旗(图片)。 我设法使用本教程为SINGLE国家创建了一个元数据框: http : //wp.tutsplus.com/tutorials/three-practical-uses-for-custom-meta-boxes/ 。 3个示例中的任何一个都可以使用,但是可以添加更多国家吗?
I am trying to create a meta box for my wordpress theme where I can add Countries. Each country has a set of fields like Name, population, flag (image). I managed to create an metabox for a SINGLE country using this tutorial: http://wp.tutsplus.com/tutorials/three-practical-uses-for-custom-meta-boxes/. Any of the 3 examples work but is it possible to add more countries?
更多推荐
发布评论