| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- function get_all_custom_types() {
- return array(
- 'custom type',
- // 'artist',
- // 'episode',
- // 'short',
- // 'talk',
- // 'object',
- // 'guide',
- // 'event',
- // 'exhibition',
- // 'technique',
- // 'profile',
- // 'publication',
- // 'release',
- // 'article',
- // 'product'
- );
- }
-
- function get_icon($type) {
- switch ($type):
- case 'artist':
- return 'dashicons-groups';
- break;
- case 'episode':
- return 'dashicons-editor-video';
- break;
- case 'short':
- return 'dashicons-video-alt3';
- break;
- case 'talk':
- return 'dashicons-format-chat';
- break;
- case 'object';
- return 'dashicons-visibility';
- break;
- case 'guide';
- return 'dashicons-edit';
- break;
- case 'event';
- return 'dashicons-calendar';
- break;
- case 'exhibition';
- return 'dashicons-location';
- break;
- case 'technique';
- return 'dashicons-art';
- break;
- case 'place';
- return 'dashicons-admin-site';
- break;
- case 'release';
- return 'dashicons-media-text';
- break;
- case 'profile';
- return 'dashicons-businessman';
- break;
- case 'publication';
- return 'dashicons-book';
- break;
- case 'article';
- return 'dashicons-networking';
- break;
- default:
- return 'dashicons-admin-post';
- endswitch;
- }
-
- ?>
|