forked from mirror/_s
Merge pull request #968 from Automattic/remove-post-formats
Removing post formats support and styles from _s
This commit is contained in:
commit
05865aae73
|
@ -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',
|
||||||
|
|
|
@ -5,11 +5,6 @@
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
@import "primary/posts-and-pages";
|
@import "primary/posts-and-pages";
|
||||||
|
|
||||||
/*--------------------------------------------------------------
|
|
||||||
## Asides
|
|
||||||
--------------------------------------------------------------*/
|
|
||||||
@import "primary/asides";
|
|
||||||
|
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
## Comments
|
## Comments
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
.blog .format-aside .entry-title,
|
|
||||||
.archive .format-aside .entry-title {
|
|
||||||
display: none;
|
|
||||||
}
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
|
|
Reference in New Issue