Try this:
function options_instructions_example() {
global $my_admin_page;
$screen = get_current_screen();
if ( is_admin() && ($screen->id == 'custom_post_type_name') ) {
function add_content_after_editor() {
global $post;
$id = $post->ID;
echo '<div class="postbox" style="background:#0074a2;color:#fff;margin-top:20px;"><div class="inside">';
echo 'Instructions go here.';
echo '</div></div>';
}
add_action( 'edit_form_after_title', 'add_content_after_editor' );
}
}
add_action( 'admin_notices', 'options_instructions_example' );
It will result in something that looks similar to this:
http://i.stack.imgur.com/5rU66.png
Related Posts:
- How to Make an admin_notices Message That Disappears Once the User Leaves That Particular Page?
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- Help Adding filter to Add Media button for custom post type
- Change column of row action (Quick Edit) links in WP_List_Table
- Possible to hide Custom Post Type UI/Menu from specific User Roles?
- Load a script just to custom post type in admin
- Placing a Custom Post Type Menu Above the Posts Menu Using menu_position?
- Loading External Scripts in Admin but ONLY for a Specific Post Type?
- Customize Edit Post screen for Custom Post Types?
- Filter by custom field in custom post type on admin page
- Showing User’s Post Counts by Custom Post Type in the Admin’s User List?
- WordPress dashboard, viewing CPT results in 504
- Merge two custom post types into one admin page?
- Remove the “View” Link in Post Admin
- Displaying Custom Post Types In “At A Glance” Meta Box
- Show Custom Taxonomy Inside Custom Menu
- Multiple custom post types under one admin menu
- How can I change the admin search posts fields?
- Adding Custom Post Type Counts to the Dashboard
- Custom post type: Add “Edit | Quick Edit | Trash | View” links to date (if title is not shown in column)?
- Admin Area Custom Type Search By Meta Fields Without Title & Content
- Add “Last Edited by” column to custom post type list table
- How can I filter posts by post_parent in the admin?
- Filter custom post types in admin not working
- Custom post type admin search
- Ordering posts by custom taxonomy in admin area
- Create a dropdown with Custom Post Types as option in admin
- How to add custom columns to Custom Post Type admin screen
- Filter admin columns by custom post field value
- Is it OK to move admin menu items?
- Prevent reload confirmation after AJAX save
- Filter by custom Field for Custom post type Admin Listing
- jQuery UI in Admin (Best Practice?)
- Admin Post Update Redirection to Posts Screen
- Exclude add_filter from the admin
- Custom post type isn’t working
- Add a ‘guide’ image to custom post type admin page
- Use remove_meta_box conditionally on custom post type
- New “Custom Types” item in admin menu. Is this a plugin or a new wordpress feature?
- How to group navigation items in the admin panel
- Sortable column containing numeric values for Custom Post Type at WordPress Backend
- How to check if post/page or taxonomy post is published by admin
- Linking to Post Types from wp-admin
- Plugin or method of allowing user to rearrange custom post types with drag and drop?
- CPT Columns doesn’t show categories
- Insert Custom Post Types
- sortable columns for multiple custom post types not working
- Custom Post Type – Support “author” only for admins
- Showing User’s Post Counts by Custom Post Type in the Author.php?
- List Custom Post Types in Admin Dashboard
- Add ‘page template’ column to dashboard for CPTs
- Filter posts of custom post type by meta key in (List All Section)
- Add data to post edit page, when post is published
- get_post_types not working properly in admin
- Modifying Dashboard edit.php
- Is there a hook between clicking on “Add new” and the edit screen of a new post?
- Require custom post type if is_admin() – template doesn’t show up?
- Function to add custom HTML into head in custom post-type list page
- Adding link to dashboard sidebar, nested under custom post type
- Multiple custom post types on same admin page
- using the loop in custom meta is messing up ‘add new’ post type
- WordPress admin for a custom post, hide/collapse the main “title” and “description” boxes
- Metaboxes inside Tab
- allowing custom user role to access custom post type in wordpress admin
- How can I put content before my custom post type default pages?
- Slow CPT in backend
- How we can create menu from Appearance > Menu and use as a add-submenu-page for admin menu?
- Is there any filter to add a custom attribute to the tag in admin panel?
- How can i redirect click to new admin page not to edit screen in post table
- Metabox collapsed by default
- Custom page for creating/editing custom post type
- How to hide private posts even if user is admin
- Adding orderby url parameter to main CPT admin menu link
- Delete all custom posts then upload a new CSV of events
- Pagination in wp-admin for CPT
- Create an administation subpage containing posts in a certain category
- Custom user roles
- Custom post type doesn’t display on admin list
- Add role privileges of the custom post type
- Customising the admin columns for a custom post type, but now most of the built in categories don’t display?
- Shared Custom post type between WP network sites
- creating different edit screens for different roles
- Exclude categories For Custom post types
- Admin menu post type
- WordPress Author Posts Review After Every Change In The Same WordPress Post
- Redirect preview single post link to a page
- Custom Post Type Causing Admin Sidebar UI Issue
- How to change the default orderby from “Date” to e.g. “Title” or my custom column in content type records list in admin?
- Collection of fields in a single post
- Allow certain part of a page to be easily updated for client?
- How can I make a custom post type that loops pages in a new dashboard page, each single page is a new dashboard page (all within the back-end)?
- Prevent users from changing post status
- empty dashboard for custom role
- Display read only info on admin, custom post page
- Custom Plugin w/ Custom Post Types – Custom Posts Are Showing at all Privilege Levels – Is this possible to adjust?
- How to set the Screen Options for Users in the Admin Panel?
- Issue displaying multiple TinyMCE editors with WPAlchemy
- Admin menu link with variable
- How to exclude a certain CPT from a snippet for Dashboard box?
- How to set up a private custom post type that is accessible in the administrative dashboard?