Created
February 7, 2018 23:00
-
-
Save CapWebSolutions/e3d97728ac27b42aa1a33111c497aa2b to your computer and use it in GitHub Desktop.
Add a small introduction before editor content meta box
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Add a little intro above the post editor screen for Job_post CPT. | |
| */ | |
| add_action( 'edit_form_after_title', 'prefix_add_editor_intro' ); | |
| function prefix_add_editor_intro() { | |
| global $post, $post_type; | |
| if( is_admin() && 'job_posting' == $post_type ) { | |
| echo 'Enter full job description in box below, including, but not limited to: education requirements, experience needed, recommended skills, job responsibilities, benefits, application requirements, salary, etc.'; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment