-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwp-cpt-manager.php
81 lines (69 loc) · 1.54 KB
/
wp-cpt-manager.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
/**
* @package justicecpts
* @version 1.0
*/
/*
Plugin Name: WP CPT Manager
Description: CPT's for davidparsons.me. Planning on extending this to be used on any site.
Author: David Parsons
Version: 1.0
Author URI: https://davidparsons.me/
*/
include_once('cpt.php');
// Portfolio Items
$project = new CPT('project');
$project->menu_icon('dashicons-book-alt');
// $speaking = new CPT('speaking');
// $speaking->menu_icon('dashicons-megaphone');
// Ratings
$location = new CPT('location');
$location->menu_icon('dashicons-location-alt');
// restaurant should be a locations category
// $restaurant = new CPT('restaurant');
// $restaurant->menu_icon('dashicons-location');
// $restaurant->register_taxonomy('cuisine');
// movies
// tv
// video games
// anime
// Journal
$desk = new CPT('desk');
$desk->menu_icon('dashicons-laptop');
$recipes = new CPT('recipe');
$recipes->menu_icon('dashicons-carrot');
$recipes->register_taxonomy('cuisine');
// Media
$photo = new CPT('photo');
$photo->menu_icon('dashicons-camera');
$video = new CPT('video');
$video->menu_icon('dashicons-video-alt2');
$music = new CPT('music');
$music->menu_icon('dashicons-format-audio');
// Bookmarks
$bookmark = new CPT('bookmark');
$bookmark->menu_icon('dashicons-sticky');
// inspiration
/*
music ... spotify syncer (youtube?)
websites ... bookmark syncer
code (other peoples code) ... github stars?
books
movies
*/
// bookmarks...
/*
music
inspiration
- websites
- projects
resources
code (open source)
tools
- travel
speaking (speaches)
wp plugins
wp themes
books
movies
*/