Home › Forums › WordPress › Admin Customization › Add text at the top of Add post.
- This topic has 0 replies, 1 voice, and was last updated 8 years, 3 months ago by Layer7web.
Viewing 0 reply threads
-
AuthorPosts
-
-
September 14, 2016 at 12:46 pm #2486
Layer7webKeymasterPHP12345678910/*** Notice above the text editor for Members area.**/function l7w_edit_form_after_title() {if('custom-post-type' == get_post_type()){echo '<h2>Text here</h2>';}}add_action( 'edit_form_after_title', 'l7w_edit_form_after_title' );
-
-
AuthorPosts
Viewing 0 reply threads
You must be logged in to reply to this topic.
Comments are closed.