跳到内容

New Page In Section Links

v0.1

theozero · 2010年12月15日 上架

Provides the ability to set the parent_id of a new page from within the link to the new page form

正在使用
10+
评分
暂无
累计下载
1,860
最近更新
2010年12月15日
需要 WordPress 2.7.0+已测试到 2.7.1

贡献者

With this plugin you can create a link to post-new.php (the place to create a new page) that includes the desired parent_id of the new page. This allows you to create links in the front end of the website like “Add a new page to this section” or “Create a new sub-page”. This is extremely useful when developing custom themes to add useful backend links on the front end of the site for users who have editing access. For using wordpress as a CMS, you really want to let the user avoid going through the clunky manage pages interface…

Features

  • This should be a feature of wordpress
  • I can’t believe this isn’t built into wordpress
  • This has to rely on javascript because there’s no suitable hook to do it another way
  • Did I mention this should be built into wordpress?

Feedback

Doubt you’ll have any, but if you do, you can go to my website (http://theoephraim.com)
I was thinking about making some functions to actually spit out the links, but since were talking about developing custom themes, you may as well just hardcode it.

License

Copyright (C) 2010 by Theo Ephraim

You may use, redistribute and/or modify this programm under the terms of the GNU General Public License by the Free Software Foundation.

The programm is distributed as free software without any warranty.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums