shpasspass
V2EX  ›  问与答

最近学会了新建wordpress后台顶级菜单,但是如何插入可视化编辑器呢?

  •  
  •   shpasspass · Jun 16, 2013 · 3244 views
    This topic created in 4901 days ago, the information mentioned may be changed or developed.
    找了许多教程,都是讲在后台顶级菜单里插入文本框,文本域,单选,复选之类的代码,但是就是没有插入编辑器的代码,如图
    就是footer setting下面这个wp自带的TinyMCE编辑器。
    现在其他的都有了,就缺这个功能了。。。
    3 replies  •  1970-01-01 08:00:00 +08:00
    emric
    emric
    Jun 17, 2013
    1
    wp_editor()
    P.S.我之前已经回复过LZ
    http://www.v2ex.com/t/71930
    shpasspass
    shpasspass
    OP
    Jun 17, 2013
    2
    @emric 其实是不一样的,之前那个是插入在文章里的,是自定义字段,现在这个是顶级菜单类型的。
    emric
    emric
    Jun 17, 2013
    3
    @shpasspass
    _(:зゝ∠)_ 有什么不一样?
    按你这样说的话,我把饭拿到床上吃就得用另外一种方法了?
    P.S.有一些时候需要认真看别人说的话,别看了一半没有验证过错误就否定别人的正确.
    http://codex.wordpress.org/Function_Reference/wp_editor
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1017 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 18:39 · PVG 02:39 · LAX 10:39 · JFK 13:39
    ♥ Do have faith in what you're doing.