{"id":117818,"date":"2010-12-15T08:00:00","date_gmt":"2010-12-15T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/new-page-w-parent-links\/"},"modified":"2010-12-15T14:37:00","modified_gmt":"2010-12-15T14:37:00","slug":"new-page-w-parent-links","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/new-page-w-parent-links\/","title":{"rendered":"New Page In Section Links"},"content":{"rendered":"<p>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 \u201cAdd a new page to this section\u201d or \u201cCreate a new sub-page\u201d. 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\u2026<\/p>\n<h4>Features<\/h4>\n<ul>\n<li>This should be a feature of wordpress<\/li>\n<li>I can\u2019t believe this isn\u2019t built into wordpress<\/li>\n<li>This has to rely on javascript because there\u2019s no suitable hook to do it another way<\/li>\n<li>Did I mention this should be built into wordpress?<\/li>\n<\/ul>\n<h4>Feedback<\/h4>\n<p>Doubt you\u2019ll have any, but if you do, you can go to my website (http:\/\/theoephraim.com)<br \/>\nI 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.<\/p>\n<h3>License<\/h3>\n<p>Copyright (C) 2010 by Theo Ephraim<\/p>\n<p>You may use, redistribute and\/or modify this programm under the terms of the <a href=\"http:\/\/www.gnu.org\/licenses\/gpl.html\" rel=\"nofollow ugc\">GNU General Public License by the Free Software Foundation<\/a>.<\/p>\n<p>The programm is distributed as free software without any warranty.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Provides the ability to set the parent_id of a new page from within the link to the new page form<\/p>\n","protected":false},"author":65,"featured_media":313604,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"New Page In Section Links - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Provides the ability to set the parent_id of a new page from within the link to the new page form"},"footnotes":""},"categories":[1],"tags":[1479,199,581,1965,841],"class_list":["post-117818","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-id","tag-page","tag-pages","tag-parent","tag-section"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/117818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=117818"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/117818\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/313604"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=117818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=117818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=117818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}