Adding Archive page to custom post menu in admin
-
Ok, here is my fantasy world:
The custom post menu has not only “add new”, categories, tags etc, but another page called Landing Page (or similar) that basically pulls in my archive-custom-post.php template, but ALSO gives me the chance to add custom fields, editor, etc to that page. There are lots of benefits to this, the two main ones being: 1. It is most intuitive, as users can manage new posts and landing page content all in one place, rather than having to go into Pages and look for the landing page content, which I am pulling in through the template file; and 2. the slug can change, and a user will never be able to delete it, thus saving my page-targeted code from accidentally breaking when the client accidentally (or purposely) deletes that one page.Can someone help me out with some ideas on how I might achieve this? I have never done plugin dev but am learning more about programming and WP extended features, and I really would like to get this one off the ground as I feel it would be enourmously useful. OR if a plugin that does this already exists, please let me know!
Thanks for any tips!
- The topic ‘Adding Archive page to custom post menu in admin’ is closed to new replies.