Using this well written post – tutorial Edit dashboard’s help tab I have full control over all standard WordPress admin screens.
Can this be modified to add “Help” Tabs to custom post types?
Using this well written post – tutorial Edit dashboard’s help tab I have full control over all standard WordPress admin screens.
Can this be modified to add “Help” Tabs to custom post types?
Comments are closed.
Use this code for solve your Problem.
The method of Adding Help Tabs described here Edit dashboard’s help tab also works for custom posts types as long as the edit-CustomPostType function (list admin screen) occurs before the CustomPostType function (edit / add new admin screen). For custom post type taxonomies use edit-taxonomyName. Cheers.
I actually happened to bump into this answer yesterday on this tutorial:
Just change “product” on line 2 to suite your needs.
The contextual help feature is a descending tab which can be seen in the top right of pages where available. Letâs take a look at how the contents can be changed.
The codes above will generate dynamic help tabs based on the
screen->id
, this essential when you want to show help tab only in a particular admin page or in your case a CPT, just target the slug og the CPT.