20 lines
No EOL
443 B
PHP
20 lines
No EOL
443 B
PHP
<?php
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Posts supports
|
|
// Activate the different elements supported by the posts
|
|
//
|
|
// Version 0.1
|
|
|
|
// Support des extraits
|
|
function kspace_post_supports() {
|
|
add_post_type_support( 'post', 'excerpt');
|
|
}
|
|
|
|
add_action( 'init', 'kspace_post_supports' );
|
|
|
|
// Support des thumbnails
|
|
add_theme_support( 'post-thumbnails' );
|
|
set_post_thumbnail_size( 825, 825, true );
|
|
|
|
|
|
?>
|