Show latest forum posts on your own website (Web portal)

Here's how to quickly create a HTML snippet for your own website which shows the top entries from one of your Zendesk forums. You can use this for example to show your latest product updates on your homepage.

The widget code uses jQuery (and no server side code). An example page is attached which shows the latest posts on Zendesk Support's announcement forum.

Your site must use jQuery! To include the html on your website, put <div id="announcements"></div> where you want the widget to go, and customize these variables in the JavaScript code to the values you like:

var zendesk_url = ' https://support.zendesk.com ';
var forum_id = 1;
var max_number_of_items = 4;

forum_id can be obtained from the URL of the forum.


Please sign in to leave a comment.