I'm customizing the backend of a WordPress installation for a client, and I've added several custom post types. They are displayed on the front-end via a custom loop inside one page, so users shouldn't access the individual custom posts.
To help ensure they aren't accidentally accessed, I've removed the Permalink selection box, which includes the View Post button. I'd like to add a View Post link at the top of the page, beside Add New Employee. (If not possible, I would settle for intercepting and replacing the Add New Employeebutton)
I'm looking for a WordPress hook to place the button there, but I haven't found anything yet. The closest I found was a post on the WP Core blog (citing
edit_form_after_title), but none of the ones listed will work for this.
The button I'd like to add will be this PHP:
<a class="add-new-h2" href="<?php echo $displaypage.get_the_title($post_ID); ?>">View <?php echo $posttype; ?></a>
$displaypage being something along the lines of
Really though, all I need help on is finding a way to hook it in. I know what to add once I find out how to add it.