If you look at the browser’s address bar on that page’s edit screen, you see something like this:
wp-admin/post.php?post=91&action=edit
The 91
is the post id. This is the important information, you can create a sub menu page for that now.
To add a page to the the admin menu, use the hook admin_menu
and the function add_submenu_page()
. Set the page menu as parent and the URL of the Camp page as menu URL:
add_action( 'admin_menu', function() {
add_submenu_page(
'edit.php?post_type=page',
'Camp',
'Camp',
'edit_pages',
'post.php?post=91&action=edit'
);
});
That’s all. 🙂
Related Posts:
- Creating a dashboard menu page similar to the “Pages” page
- Add custom admin menu item for pages using a certain template
- Backend option to include a javascript file on specific pages?
- Dashboard–> All Pages “How to create folders?”
- Add a Menu Link (to a WordPress Page) in the Admin Menu/Sidebar
- Hiding Page by Title from Editing
- Force page to open in html mode
- How to update the counter of private pages in the dashboard?
- Disable ADD PDF media button on rich text editor
- pre-existing data, and entities
- Translate dashboard metabox
- How to sorted Parent Page in WP-admin
- Shortcode runs when editing page
- When would it be best to hook AJAX functions on a back-end page?
- How to see the dashboard of a downloaded wordpress website?
- Editing pages from dashboard
- Custom admin menu for a selection of pages
- Missing page on wordpress “Pages” dashboard [closed]
- Dashboard show only published pages instead of all pages
- Replace Dashes Before Title in Page List
- WordPress parent select need to be removed
- Limit number of pages that use a specific template?
- Make sub menu items a main link in the admin menu using fuctions.php
- How does wordpress calculate the page depth?
- Multiple pages on a single page
- Show TwentyEleven header image only on home page
- WordPress post/page pagination (page links) to go back to the first section
- Show different badge based upon the user role
- Placing google maps into a wordpress page using the wordpress page editor
- Putting footer content in a “page” – Doing it wrong?
- How to create wordpress page that shows posts with specific tags?
- Template for child pages / subpages
- Is there a better way to programmatically insert content into a page?
- How to get the order attribute of a page
- Custom page template not working
- How to Add a Rewrite Rule for Only One Page?
- Are Pages the right thing to use for making sections of a single-page site?
- Allow contributors to create page (but not publish)
- How do I pass data from page content to the underlying PHP template
- add new metabox to page editor with just page parent
- How to open a phpBB forum in the same website as sub-page [closed]
- How to redirect login and register pages
- What are trackbacks?
- How to enumerate a list of posts?
- Weird issue with is_pages() with array
- Missing ‘Page Attributes’ in page edit
- Programmatically add existing pages and subpages to Appearance Menu
- How can I redirect to my custom page without loading the Dashboard itself?
- Remove ID page from wp_count
- category slug and page slug same
- New user Registration data imported into Page
- Could be a namespace conflict (?) with login form and register form on the same page
- Updated WordPress, now getting errors on site
- Edit Parent page drop menu when creating a page
- Get parent of current page
- How to list a page tree?
- Attachment pages stealing page slugs
- How to add an external php page with wordpress?
- Exclude pages by menu order
- Change page name in admin list
- How to exclude authors from get_pages()
- Change menu order of core post-type in UI?
- Folder wordpress page redirect
- Dynamic page with comments
- How to rewrite a page url
- Display pages in alphabetical order
- Listing all child-pages of a parent-page on the parent-page and each child-page?
- Loading scripts on specific pages using PHP in footer.php
- How to recover pages from site with only ftp? [closed]
- get_page() – Only variables can be passed by reference
- Need Help with Custom ModRewrite
- Archive limit the text of the_content
- upgrade has caused page content to disappear
- Trying to create a page as a menu item in the admin while keeping the admen panel visible
- Website jumps to top when scrolling down
- Can’t find the page that is using a slug
- Create page template
- Loading ACF Field content on a 404.php page
- Cannot Create A Page or Post in WordPress 5.2.1
- Can I use the wordpress loop in pages?
- Add addtional page parameter before loading the page
- Get largest page id by title?
- How to insert current user ID in a shortcode?
- Make wordpress pages accessible for Woocommerce logged in users only
- display different pages content on single page
- How to show the view more on my display of pages shortcode
- Have subdirectory name act as $_GET or $_POST data
- Create page excerpts for landinpage
- Why my site scroll top when end load pages
- Cannot add media to a page
- Creating multiple pages
- Create nonce in frontend page to edit profile
- Hide if subpages are shown
- Paginate Links not working
- How to remove title (home) from static page skeleton template
- How to get from sql query page id and retrieve it url and title
- How to access variables from one plugin in another
- Find Page Last Modified at Certain Date & Time
- Save search criteria per user and show on custom user page
- How do I create a page that displays the homepage?