FEATURE: Choose a category to fetch featured topics from

FEATURE: Choose a category to fetch featured topics from

diff --git a/javascripts/discourse/components/featured-tiles.js b/javascripts/discourse/components/featured-tiles.js
index 867b53b..c919d4e 100644
--- a/javascripts/discourse/components/featured-tiles.js
+++ b/javascripts/discourse/components/featured-tiles.js
@@ -44,6 +44,10 @@ export default Component.extend({
 
   loadTopics() {
     const loadParams = { tags: featuredTags };
+    if (settings.featured_category > 0) {
+      loadParams.category = settings.featured_category;
+    }
+
     if (settings.scope_to_category && this.category) {
       loadParams.category = this.category.id;
     }
diff --git a/locales/en.yml b/locales/en.yml
index e58d50f..8d456e9 100644
--- a/locales/en.yml
+++ b/locales/en.yml
@@ -2,6 +2,7 @@ en:
   theme_metadata: 
     description: Display a horizontal strip of featured topics above a category
     settings:
+      featured_category: The category containing featured topics. Set to 0 for all categories. 'Scope to category' will override this setting.
       featured_tags: The tag which contains the featured topics. This must be publically visible.
       topic_source: Which algorithm should be used to pick topics?
       randomize_topics: Randomize the selection and ordering of topics?
diff --git a/settings.yml b/settings.yml
index a95c69f..17aa037 100644
--- a/settings.yml
+++ b/settings.yml
@@ -1,3 +1,6 @@
+featured_category:
+  type: integer
+  default: 0
 featured_tags:
   type: list
   list_type: tag

GitHub sha: fa8e1c68b65eb13e436fd493d3b2a88b5f96fc8b