Last active
August 26, 2019 20:30
-
-
Save damiencarbery/48f260f0f91ac81da6895f9d711fdb35 to your computer and use it in GitHub Desktop.
Change strings used in Genesis Portfolio Pro CPT - https://www.damiencarbery.com/2018/03/change-settings-of-a-cpt-custom-post-type/
This file contains 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
portfolio: array ( | |
'labels' => | |
array ( | |
'name' => 'Portfolio Items', | |
'singular_name' => 'Portfolio Item', | |
'menu_name' => 'Portfolio Items', | |
'name_admin_bar' => 'Portfolio Item', | |
'add_new' => 'Add New', | |
'add_new_item' => 'Add New Portfolio Item', | |
'new_item' => 'New Portfolio Item', | |
'edit_item' => 'Edit Portfolio Item', | |
'view_item' => 'View Portfolio Item', | |
'all_items' => 'All Portfolio Items', | |
'search_items' => 'Search Portfolio Items', | |
'parent_item_colon' => 'Parent Portfolio Items:', | |
'not_found' => 'No Portfolio Items found.', | |
'not_found_in_trash' => 'No Portfolio Items found in Trash.', | |
), | |
'has_archive' => true, | |
'hierarchical' => true, | |
'menu_icon' => 'dashicons-format-gallery', | |
'public' => true, | |
'rewrite' => | |
array ( | |
'slug' => 'portfolio', | |
'with_front' => false, | |
), | |
'supports' => | |
array ( | |
0 => 'title', | |
1 => 'editor', | |
2 => 'author', | |
3 => 'thumbnail', | |
4 => 'excerpt', | |
5 => 'trackbacks', | |
6 => 'custom-fields', | |
7 => 'revisions', | |
8 => 'page-attributes', | |
9 => 'genesis-seo', | |
10 => 'genesis-cpt-archives-settings', | |
), | |
'taxonomies' => | |
array ( | |
0 => 'portfolio-type', | |
), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment