Merge pull request #968 from Automattic/remove-post-formats

Removing post formats support and styles from _s
This commit is contained in:
Tammie Lister 2016-06-13 22:52:08 +01:00 committed by GitHub
commit 05865aae73
5 changed files with 0 additions and 31 deletions

View File

@ -59,18 +59,6 @@ function _s_setup() {
'caption', 'caption',
) ); ) );
/*
* Enable support for Post Formats.
* See https://developer.wordpress.org/themes/functionality/post-formats/
*/
add_theme_support( 'post-formats', array(
'aside',
'image',
'video',
'quote',
'link',
) );
// Set up the WordPress core custom background feature. // Set up the WordPress core custom background feature.
add_theme_support( 'custom-background', apply_filters( '_s_custom_background_args', array( add_theme_support( 'custom-background', apply_filters( '_s_custom_background_args', array(
'default-color' => 'ffffff', 'default-color' => 'ffffff',

View File

@ -5,11 +5,6 @@
--------------------------------------------------------------*/ --------------------------------------------------------------*/
@import "primary/posts-and-pages"; @import "primary/posts-and-pages";
/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
@import "primary/asides";
/*-------------------------------------------------------------- /*--------------------------------------------------------------
## Comments ## Comments
--------------------------------------------------------------*/ --------------------------------------------------------------*/

View File

@ -1,4 +0,0 @@
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
display: none;
}

View File

@ -36,7 +36,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
# Widgets # Widgets
# Content # Content
## Posts and pages ## Posts and pages
## Asides
## Comments ## Comments
# Infinite scroll # Infinite scroll
# Media # Media

View File

@ -36,7 +36,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
# Widgets # Widgets
# Content # Content
## Posts and pages ## Posts and pages
## Asides
## Comments ## Comments
# Infinite scroll # Infinite scroll
# Media # Media
@ -778,14 +777,6 @@ a:active {
margin: 0 0 1.5em; margin: 0 0 1.5em;
} }
/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
display: none;
}
/*-------------------------------------------------------------- /*--------------------------------------------------------------
## Comments ## Comments
--------------------------------------------------------------*/ --------------------------------------------------------------*/