Changeset 1300766
- Timestamp:
- 12/04/2015 06:01:26 PM (10 years ago)
- Location:
- os-media/trunk/classes
- Files:
-
- 2 edited
-
OSmedia-post-admin.php (modified) (3 diffs)
-
OSmedia-post-frontend.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
os-media/trunk/classes/OSmedia-post-admin.php
r1299148 r1300766 98 98 // CPT columns (Ohad Raz Class) 99 99 $post_columns = new CPT_columns( POST_TYPE_SLUG, true); 100 // $post_columns->_column_orderby( (object) array('orderby' => 'date') ); 100 101 $post_columns->add_column('cb', 101 102 array( … … 125 126 ) 126 127 ); 127 $post_columns->add_column('tag ',128 $post_columns->add_column('tags', 128 129 array( 129 130 'label' => __('tag'), 130 'type' => 'tag '131 'type' => 'tags' 131 132 ) 132 133 ); … … 193 194 'menu_icon' => 'dashicons-video-alt3', 194 195 // elementi supportati admin area CPT (editor=textarea) 195 'supports' => array( 'cb', 'editor', 'thumbnail', 'title', 'custom_tax', 'custom-fields', ' revisions', 'comments', 'page-attributes')196 'supports' => array( 'cb', 'editor', 'thumbnail', 'title', 'custom_tax', 'custom-fields', 'excerpt', 'tags', 'revisions', 'comments', 'page-attributes') 196 197 ); 197 198 -
os-media/trunk/classes/OSmedia-post-frontend.php
r1299148 r1300766 336 336 case 'Twenty Fourteen': $layout_slug = POST_TYPE_SLUG . '-twentyfourteen.php'; break; 337 337 case 'Twenty Fifteen': $layout_slug = POST_TYPE_SLUG . '-twentyfifteen.php'; break; 338 case 'OS -media theme': $layout_slug = POST_TYPE_SLUG . '-theme.php'; break;338 case 'OS media': $layout_slug = POST_TYPE_SLUG . '-theme.php'; break; 339 339 default: $layout_slug = POST_TYPE_SLUG . '.php'; break; 340 340 }
Note: See TracChangeset
for help on using the changeset viewer.