Create a blog post widget

Our blog post widget makes it easy to display recent blog posts on your web site

To add our blog post widget to your web page, copy the "embed code" from the box below the widget preview.

Then paste the embed code into the HTML (source code) of your web page.

Preview your widget

Your widget will display: Blog posts from Public Health Agency.

This is how your widget will look on your own page.


Embed code

Copy all the code from the box below, and paste it into the HTML of your own web page.

If you want, you can edit the code to adjust the size of your widget:

  • height: in pixels
  • width: in pixels
  • number of posts: edit the number shown after "take" in the code

Iframe widget

If you cannot use the script widget, we also have an iframe based widget available.

The content will resize up to size of the iframe.