# News Plugin 📰

**URL:** https://meta.discourse.org/t/news-plugin/107971
**Category:** Plugin
**Tags:** pavilion, broken
**Created:** [January 30, 2019, 10:26pm UTC](https://meta.discourse.org/t/news-plugin/107971 "2019-01-30T22:26:05Z")
**Posts on this page:** 1
**Showing post:** 155

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [December 8, 2023, 1:05pm UTC](https://meta.discourse.org/t/news-plugin/107971/155 "2023-12-08T13:05:21Z")

</div>

Hey @Thomas_Rother. If you can get this plugin to work for you (caveat it seems to be broken for some as @JammyDodger mentioned), then there’s two lists of fontawesome icons in Discourse which will give you the exact name you need to use.

There’s this one, which is the one that Discourse loads by default (i.e. will always work if you just use the right name)

> <https://github.com/discourse/discourse/blob/main/lib/svg_sprite.rb#L6>

And there’s icons in the Fontawesome SVGs in Discourse (The name is the `id` on the symbol). The icons in the SVG which are not listed in `lib/svg_sprite.rb` will work if they’re loaded by a plugin or theme.

> **[discourse/vendor/assets/svg-icons at main · discourse/discourse](https://github.com/discourse/discourse/tree/main/vendor/assets/svg-icons)**
>
> main/vendor/assets/svg-icons

So for `fa-newspaper`, it looks like:

1. It’s not in the list in `lib/svg_sprite.rb` meaning that Discourse does not load it by default;
2. There is a `newspaper` in the `fontawesome/regular.svg` and `fontawesome/solid.svg`

So to use it in the News plugin you’d need to load `newspaper` in a theme or plugin following the steps laid out in

> [@Introducing Font Awesome 5 and SVG icons](https://meta.discourse.org/t/introducing-font-awesome-5-and-svg-icons/101643):
>
> See also: [We're upgrading our icons to Font Awesome 6!](https://meta.discourse.org/t/were-upgrading-our-icons-to-font-awesome-6/325349) We will shortly merge into master a [branch](https://github.com/discourse/discourse/tree/fontawesome5) that upgrades Discourse to Font Awesome 5.5.0 (the free version) and switches to using SVG icons instead of an icon font. This is a substantial change, with lots of benefits, and one significant change for developers. Here is a quick rundown of the changes: using SVG icons will provide crisper icons, better for accessibility and easier to customize, see [this Github article](https://blog.github.com/2016-02-22-delivering-octicons-with-svg/) for more details since…

---

_[View the full topic](https://meta.discourse.org/t/news-plugin/107971)._
