How to go about modifying the Wordpress “Pages Add New Screen”

后端 未结 2 905
南旧
南旧 2020-12-11 08:47

I have been thinking about developing my own theme framework for worpdress. I\'d like to use jquery ui to build a bootstrap 3.0 drag and drop interface, which I already have

2条回答
  •  星月不相逢
    2020-12-11 09:28

    Instead of messing with the core files of wordpress (which would be a really bad idea) I would suggest making a custom field/sidebar or a menu page to use the drag/drop function to make a page or post.

    http://codex.wordpress.org/Custom_Fields

    http://codex.wordpress.org/Function_Reference/add_menu_page

    If you want some examples on how others have done something similar (as a plugin) you could look at the code from others and see if you can use similar techniques to add additional fields within the screen options.

    http://simple-fields.com/

    http://www.advancedcustomfields.com/

提交回复
热议问题