From 2316b1981c6c63bfa113949a83961dda506fccd1 Mon Sep 17 00:00:00 2001 From: Caroline Moore Date: Mon, 13 Jun 2016 16:39:54 -0400 Subject: [PATCH] Removing post formats support and styles from _s --- functions.php | 12 ------------ sass/site/_site.scss | 5 ----- sass/site/primary/_asides.scss | 4 ---- sass/style.scss | 1 - style.css | 9 --------- 5 files changed, 31 deletions(-) delete mode 100644 sass/site/primary/_asides.scss diff --git a/functions.php b/functions.php index 415ca921..297e9ad3 100644 --- a/functions.php +++ b/functions.php @@ -59,18 +59,6 @@ function _s_setup() { '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. add_theme_support( 'custom-background', apply_filters( '_s_custom_background_args', array( 'default-color' => 'ffffff', diff --git a/sass/site/_site.scss b/sass/site/_site.scss index f03ca1a3..32571067 100644 --- a/sass/site/_site.scss +++ b/sass/site/_site.scss @@ -5,11 +5,6 @@ --------------------------------------------------------------*/ @import "primary/posts-and-pages"; -/*-------------------------------------------------------------- -## Asides ---------------------------------------------------------------*/ -@import "primary/asides"; - /*-------------------------------------------------------------- ## Comments --------------------------------------------------------------*/ diff --git a/sass/site/primary/_asides.scss b/sass/site/primary/_asides.scss deleted file mode 100644 index fd26fa23..00000000 --- a/sass/site/primary/_asides.scss +++ /dev/null @@ -1,4 +0,0 @@ -.blog .format-aside .entry-title, -.archive .format-aside .entry-title { - display: none; -} \ No newline at end of file diff --git a/sass/style.scss b/sass/style.scss index 0b5f14ca..3ccdede5 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -36,7 +36,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ # Widgets # Content ## Posts and pages - ## Asides ## Comments # Infinite scroll # Media diff --git a/style.css b/style.css index ec526061..d665be7f 100644 --- a/style.css +++ b/style.css @@ -36,7 +36,6 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ # Widgets # Content ## Posts and pages - ## Asides ## Comments # Infinite scroll # Media @@ -778,14 +777,6 @@ a:active { margin: 0 0 1.5em; } -/*-------------------------------------------------------------- -## Asides ---------------------------------------------------------------*/ -.blog .format-aside .entry-title, -.archive .format-aside .entry-title { - display: none; -} - /*-------------------------------------------------------------- ## Comments --------------------------------------------------------------*/