From a962c9d261c8a0724a0b1ac23ef75cbb33ec1623 Mon Sep 17 00:00:00 2001 From: Romulo De Lazzari Date: Wed, 12 Sep 2018 17:49:39 +0100 Subject: [PATCH] add polls to sponsored post and sponsored longforms --- .editorconfig | 21 +++++++++++++++++++++ container.php | 4 +++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0ec13d1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# editorconfig.org +root = true + +[*] +indent_style = space +end_of_line = lf +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{html,twig,md}] +indent_size = 2 + +[*.php] +charset = utf-8 +indent_style = tab +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false diff --git a/container.php b/container.php index feabdc9..fc7d20b 100644 --- a/container.php +++ b/container.php @@ -13,7 +13,9 @@ $container['allowed_post_types'] = function($c) { return [ 'post', - 'longform' + 'longform', + 'sponsored_post', + 'sponsored_longform' ]; };