dongqin1861 2013-09-06 13:43
浏览 48

添加到Wordpress页面编辑器的唯一字段

I need to customise the page editor in Wordpress so I have 5 text fields which I can pull out in the front end page. This is because the Wordpress manager is a bit hopeless with no HTML skills and the content of these boxes will populate buttons and a drop-down select. These fields will be completely unique to the page being edited. How do I go about this? Do I need to build my own plugin or customise an existing one or other?

  • 写回答

1条回答 默认 最新

  • doomli3721 2013-09-06 15:30
    关注

    Advanced Custom Fields is a great plugin for this. You can target a particular page to display fields on and then output your fields in the front end templates using:

    the_field('field_name');
    

    See here: http://www.advancedcustomfields.com/

    评论

报告相同问题?