# Colormag Wordpress Theme Discourse Widget

**URL:** <https://meta.discourse.org/t/colormag-wordpress-theme-discourse-widget/128322>\
**Category:** Extras\
**Created:** [September 11, 2019, 7:53pm UTC](https://meta.discourse.org/t/colormag-wordpress-theme-discourse-widget/128322 "2019-09-11T19:53:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![frold](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frold/32/82547_2.png) [@frold](https://meta.discourse.org/u/frold)\
**Post date:** [September 11, 2019, 7:53pm UTC](https://meta.discourse.org/t/colormag-wordpress-theme-discourse-widget/128322/1 "2019-09-11T19:53:07Z")

</div>

I have been able to make my first plugin for Wordpress and Discourse.

It let you change the wordpress theme not only to get content from articles - but now you can mix articles and forum posts. I have been able to recode the widgets for the colormag theme.

Im not a coder I have to say, just a sparetime coder who find it funny - so the code might be a little buggy and not the most beautyful 🙂

I did add 2 new widgets and by them you can either get the latest posts from a specific forum category (choosen from a dropdown) or the latest posts from your site.

**Widget Style 1**

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/a/aadd404b5759ae54d5ede0357eddf06fe9a80a6f.png)

With a output like

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/b/fb16901e28a19bf28c72a10a6406139904291baa.jpeg)

**Widget Style 2**

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/c/5c74fe18f1a542314b8209b3883a5647f06bb0fa.png)

With a output like

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/d/cd6aa911b5df1b843deb3f681cd2cb5b339c0368.png)

It is controlled in wordpress with these settings:

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/7/57b866adfa8e3a95d222c98db6d544722818f7a4.png)

You can see a live demo here:  
[http://colormag.liljefred.dk](http://colormag.liljefred.dk/)

The original theme you find here:

> **[ColorMag](https://themegrilldemos.com/colormag/)**

---

_[View the full topic](https://meta.discourse.org/t/colormag-wordpress-theme-discourse-widget/128322)._
