Merge pull request #1759 from roots/remove-post-formats
Remove post formats
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
### HEAD
|
||||||
|
* Remove post formats ([#1759](https://github.com/roots/sage/pull/1759))
|
||||||
|
|
||||||
### 9.0.0-alpha.4: November 16th, 2016
|
### 9.0.0-alpha.4: November 16th, 2016
|
||||||
* Use new webpack api schema ([8ac5f15](https://github.com/roots/sage/commit/e6e60aa))
|
* Use new webpack api schema ([8ac5f15](https://github.com/roots/sage/commit/e6e60aa))
|
||||||
* Update dependencies ([70ebba7](https://github.com/roots/sage/commit/70ebba7))
|
* Update dependencies ([70ebba7](https://github.com/roots/sage/commit/70ebba7))
|
||||||
|
|||||||
@@ -28,13 +28,13 @@ add_action('after_setup_theme', function () {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable plugins to manage the document title
|
* Enable plugins to manage the document title
|
||||||
* @link http://codex.wordpress.org/Function_Reference/add_theme_support#Title_Tag
|
* @link https://developer.wordpress.org/reference/functions/add_theme_support/#title-tag
|
||||||
*/
|
*/
|
||||||
add_theme_support('title-tag');
|
add_theme_support('title-tag');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register navigation menus
|
* Register navigation menus
|
||||||
* @link http://codex.wordpress.org/Function_Reference/register_nav_menus
|
* @link https://developer.wordpress.org/reference/functions/register_nav_menus/
|
||||||
*/
|
*/
|
||||||
register_nav_menus([
|
register_nav_menus([
|
||||||
'primary_navigation' => __('Primary Navigation', 'sage')
|
'primary_navigation' => __('Primary Navigation', 'sage')
|
||||||
@@ -42,21 +42,13 @@ add_action('after_setup_theme', function () {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable post thumbnails
|
* Enable post thumbnails
|
||||||
* @link http://codex.wordpress.org/Post_Thumbnails
|
* @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/
|
||||||
* @link http://codex.wordpress.org/Function_Reference/set_post_thumbnail_size
|
|
||||||
* @link http://codex.wordpress.org/Function_Reference/add_image_size
|
|
||||||
*/
|
*/
|
||||||
add_theme_support('post-thumbnails');
|
add_theme_support('post-thumbnails');
|
||||||
|
|
||||||
/**
|
|
||||||
* Enable post formats
|
|
||||||
* @link http://codex.wordpress.org/Post_Formats
|
|
||||||
*/
|
|
||||||
add_theme_support('post-formats', ['aside', 'gallery', 'link', 'image', 'quote', 'video', 'audio']);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable HTML5 markup support
|
* Enable HTML5 markup support
|
||||||
* @link http://codex.wordpress.org/Function_Reference/add_theme_support#HTML5
|
* @link https://developer.wordpress.org/reference/functions/add_theme_support/#html5
|
||||||
*/
|
*/
|
||||||
add_theme_support('html5', ['caption', 'comment-form', 'comment-list', 'gallery', 'search-form']);
|
add_theme_support('html5', ['caption', 'comment-form', 'comment-list', 'gallery', 'search-form']);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user