Created
November 20, 2012 16:43
-
-
Save richardegil/4119147 to your computer and use it in GitHub Desktop.
For Carlos - CPT additions
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
Carlos, | |
I added a third array to the initial setup of the Faculty cpt. | |
The file you need to edit is: /includes/cpt/faculty.php | |
$faculty = register_cuztom_post_type( | |
'faculty', | |
array( | |
'has_archive' => false, | |
'supports' => array ('title', 'excerpt', 'thumbnail'), | |
'rewrite' => array ( | |
'slug' => 'faculty', | |
'with_front' => false | |
) | |
), | |
//This is the array that I added. | |
array( | |
'name' => 'Faculty Profiles', | |
'menu_name' => 'Faculty Profiles', | |
'all_items' => 'All Faculty Profiles' | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment