If its okey you can hook into admin_notices
. Like this:
Change post_type
to the real post_type
name.. I assumed it would be “program”.
function wpse_76471_add_html() {
global $pagenow ,$post;
if( $post->post_type == 'program' && $pagenow == 'edit.php' ) {
$output="<div class="my-div">";
$output .= '<h2>'. __('My custom content (HTML/PHP)', 'program') .'</h2>';
$output .= '</div>';
echo $output;
}
}
add_action('admin_notices','wpse_76471_add_html');
The div will be above the title… Hope its okay.
Maybe there is another hook you can use: http://codex.wordpress.org/Plugin_API/Filter_Reference#Administrative_Filters
Related Posts:
- Custom post status not working
- Admin Post Update Redirection to Posts Screen
- Exclude add_filter from the admin
- White screen error for a custom theme
- How do you output custom code between posts in the loop?
- How to get Custom Post ID by adding filter to child theme’s function
- How to customize admin posts based on the user who is logged in
- How can I create a custom meta box to add an mp4 video to a page?
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- How to customize a permalink (URL) structure?
- On update or create post redirect to current post position in list
- Cannot save CPT meta box
- Allow users to create posts without logging in?
- Custom post type isn’t working
- Custom Post Type & Custom Menu Walker to append custom class for active post types
- Add an Outside Wrapper to my Header and Make it Full Width
- Custom post type’s posts are not showing anywere but in xml sitemap
- post_content is stripping HTML when adding a new post? [closed]
- Post visibility option to theme front-end for author to select?
- How do I disable the built-in editor and automatically configure the properties of new pages?
- Custom Form / Search with Custom Post Type Data
- Stored meta from attachment, video length?
- Create 2-layered dropdown menus for custom taxonomy and custom post type
- Collection of fields in a single post
- Custom post type functions.php if statement on action
- How to display *block number* instead *date value* on WordPress posts?
- Best collection of code for your 'functions.php' file [closed]
- How come Featured Image isn’t showing up in my Custom Post Type?
- How to use a custom post type archive as front page?
- Loading External Scripts in Admin but ONLY for a Specific Post Type?
- Set posts of a custom post type to be private by default?
- WP 3.1 – archive pages for custom content types possible now without a plugin?
- How can I add dropdown widget/box to admin post page?
- Custom Post type sort order not working in the admin area
- Single Page WordPress CSS and JS links
- Unable to filter on field on edit.php page
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- [Plugin: Posts 2 Posts] Changing display order of connections
- No results searching custom post type in admin panel
- Disable dragging of metaboxes in custom post types?
- Append taxonomy terms as class names in markup?
- Display only custom post type count for current author on the “At a Glance” dashboard widget
- How to delete all posts from a custom post type?
- Structure for projects and clients
- Using WPAlchemy metabox values in another metabox
- Why is my custom loop not filtering correctly nor paginating?
- Custom post types with custom directories
- GravityForm: Populate Dropdown with custom post type [closed]
- Dynamically add / duplicate custom meta in custom post types
- How to retrieve category NAME instead of ID in a function with a taxonomy custom field?
- WooCommerce product search titles only
- Custom Taxonomy Permalinks Redirection
- Add custom column in custom post type edit page
- Group posts by custom post type
- Plugin: register custom post types, child ready and performance best practices
- Get parse_query filter to return slug instead of id
- Custom admin post.php page
- Change CPT archive title
- I need to add endpoint for wordpress categories
- Hide a widget inside a div on specific type of post
- How to add attributes to taxonomies that may be different from post to post?
- How to sort posts in a custom post type by title in ascending order by default?
- Warning: Invalid argument supplied for foreach() [closed]
- custom post for slider
- Navigate posts with different post type that are in the same categories
- Sortable column containing numeric values for Custom Post Type at WordPress Backend
- Show Custom Message in WordPress Admin
- Prevent A Specific Custom Post Type Showing In WP Search Results Page
- Create short URL with auto 301 redirect
- WordPress notification if new post published
- Custom Post Types and Removing Slugs – should we do it?
- Need to have an archive widget which organizes and displays a custom post type using a custom date field
- Custom Content Type with No Page View
- How to list posts by term (custom taxonomy)
- Excerpt length: get first paragraph
- Is there a hook between clicking on “Add new” and the edit screen of a new post?
- What is the best way to manage small blocks of content on my home page?
- One post auto attached to many another items
- Submit Custom Postypes from frontend
- How do I “trash” a custom post type post while logged in as Admin
- Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
- Limit custom post type to the authors only on front-end!
- How to hide private posts even if user is admin
- Create posts inside CPT post
- wp delete duplicate entries of custom post types every 15 minutes
- Custom permalink rewrite rules – how do I fix this?
- connect users to Custom post types
- Populate custom post type/custom fields from an external database
- Custom Pagination based on Custom Post Type
- Custom user roles
- How to retain HTML5 Attributes on Markup
- Custom Post Type
- Registering an optional custom post type from a plugin
- Redirect preview single post link to a page
- Custom metabox value not saving
- Advise on Custom Taxonomies and Structure
- Comments are not working on Custom Post Type
- How to make a non-public post on wordpress approval?
- Same slug for Custom Taxonomy archive and CPT archive – Rewrite rule not working
- is therer any wordpress function to retrieve a specific html element from post content