If the home page is set as “Home” in settings, use:
get_edit_post_link( get_option( 'page_on_front' ) );
Related Posts:
- Make “Post published. View post” Open in a New Tab
- Add filter-by-tag in the all posts admin console page
- Change default Posts page
- Disable inline_edit() on edit.php
- plugin to post from admin to flickr [closed]
- Cannot create new posts or upload images using media manager
- issue in wordpress auto delete post and redirect to another 1
- How to change the publishing date of each posts?
- Post Format Status [closed]
- How to add an admin notice upon post save/update
- How to remove a column from the Posts page
- Update post counts (published, draft, unattached) in admin interface
- How to display by default only published posts/pages in the admin area?
- Set Default Listing “View” in Admin
- display all posts in wordpress admin
- Change label of title field for posts in the backend
- Sends out email to admin
- Can I force a metabox to be in one column?
- Add a new post status in the post progression
- Help! Turn php link data into url OR hide edit link in post admin OR hide drafts for all users except admin?
- Modifying admin sidebar contents to show pending posts indicator
- Exclude drafts in all() view of edit.php
- How to Arrange Posts by Size in the WordPress Dashboard?
- List latest posts in WP-Admin
- Open WordPress ‘Add New Post’ admin page with parameters set via $_GET
- Any way to create a revision of a post ONLY with a new button in the Meta Box?
- How to Load Scripts and CSS for Admins Only When Editing or Adding Posts
- Categories box not showing on post edit pages
- Add “Post Options” for new wordpress post
- Post Admin – Filter by posts without tags
- Add javascript when post is published
- Include Sticky Post in Page Posts Count?
- Why does the_date work in the first custom column, but not in the second, in a series of customized Posts columns?
- Add link on the top menu of the post table?
- Add a special filter link to All Posts in admin
- which action to hook to in order to perform post-publish action
- Overview with latest edited posts and pages
- Hiding by default specific post status on backend list?
- Custom colors for post rows based on post meta value
- How to add an admin function only to posts, not pages?
- prevent showing posts of an specific category in admin posts section
- How to get new post URL?
- How to remove bulk edit options
- Remove whitespace at the end of posts?
- Add confirmation popup on “Move to Trash”
- Allow role to delete posts but block him the wp-admin
- Embed WordPress Admin in an iframe
- Can’t publish, edit or delete posts since Gutenberg update
- Is there a way to change the color of a row in Post Administration based on the type of post?
- Send email to user that his post has been rejected
- Remove some articles from the list in WPAdmin for a user
- How to place HTML below the title of the (custom) post overview
- How do I allow users to follow a post and then allow admins to email all users who have followed that post?
- How to get a nofication when post submitted
- display list of posts/pages in admin edit post/page
- Custom Theme Want To Remove One Category From All Displays
- Invalid post type when click “Filter” or “Apply” button in WordPress admin Post list [closed]
- How to change the title url on the edit post screen?
- Change Order of Admin Posts Depending on Meta
- How do I add a custom body class to the admin area of a page?
- Adding a text link under the post title in the lists of posts
- Is it possible to change the admin posts per page view?
- Remove the Edit button in posts for permalinks on certain user roles? WP 3.3
- Diplay comment date on WP_Post_Comments_List_Table
- Remove rows in the manage post/page view
- Show info to author only
- I am unable to publish/update post
- WordPress’ ALL post count info on its dashboard does not match phpMyAdmin’s ALL post count!
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- Classic editor throws 403 error based on post content
- Display Meta Values in Custom Filter – Admin Custom Posts
- Lost draft under all posts and drafts
- Change target of view link in admin
- Prevent additional top level categories but allow more children
- WP Admin register taxonomy and post type performance
- Publish post’s date is set to Nov 30 -0001
- Admin – create custom post status and display above table
- Simultaneous admin updates causes custom fields to not update
- Hook in to add new post link wp admin?
- All Posts admin screen – show time underneath the ‘Date’?
- Get post ID in post/page edit area
- How to replace “Password Protected” text with icon in Admin
- Retrieve only posts from a specific user in wp-admin/edit.php
- Adding an Archive button to posts page for administrators
- Develop Admin Panel Page
- How show categories in admin and get that selected to show posts in index
- Change post-slug using wordpress API? Change permalink of a post using php / jquery?
- How to remove specific tag from multiple posts?
- How to detect when admin user is on the All Posts page?
- Fast publishing in wordpress
- Which file do I need to edit the All Posts page in the admin area?
- All posts display default index.html
- How can I add a box to edit Order on a regular post?
- Filtering posts on Post Administration Page by Week Number instead of by Month
- How to add the time of a post to the list of posts on the administration page?
- Is there a way to add the list of recent posts into the admin sub menu on hover?
- How do you search for a post or page with a certain url on the WordPress admin panel?
- How to get the old WordPress Draft Editor view back with the Word count?
- Change the color of the Password Protected Post titles
- How to add convenient buttons for new custom post statuses