CHN Logo
CHN Logo

Add the CHN Provider Badge to Your Website

This page gives you a copy-paste snippet and quick steps to add the CHN Provider Badge to your website. If your site blocks external images for security, use the Self-host option below.

Two quick steps

  1. Copy the code below.
  2. Paste it into your site using an HTML, Embed, or Code block (not a regular text/paragraph block).

Copy & Paste (Recommended)

This code links to the CHN site and serves the badge from a global CDN:

<a href="https://collaborativehn.com/" target="_blank" rel="noopener noreferrer" aria-label="Visit Collaborative Health Network">
  <picture>
    <source srcset="https://cdn.jsdelivr.net/gh/Collaborative-Health-Network/chn-badge@main/chn_badge.svg" type="image/svg+xml">
    <img
      src="https://cdn.jsdelivr.net/gh/Collaborative-Health-Network/chn-badge@main/chn_badge.png"
      alt="CHN Provider Badge"
      width="113" height="107"
      style="max-width:100%;height:auto;border:0;"
      loading="lazy" decoding="async">
  </picture>
</a>

Direct file links:


Self-host (for stricter security policies)

Some sites only allow images hosted on their own domain. If the badge doesn’t appear, download the files, upload them to your site, and update the URLs in the code.

Important: Replace "/path/to/your/uploads/" with the actual path/URL where your site stores images.
For example, in WordPress it might look like:
/wp-content/uploads/2025/08/chn_badge.png

<a href="https://collaborativehn.com/" target="_blank" rel="noopener noreferrer" aria-label="Visit Collaborative Health Network">
  <picture>
    <source srcset="/path/to/your/uploads/chn_badge.svg" type="image/svg+xml">
    <img
      src="/path/to/your/uploads/chn_badge.png"
      alt="CHN Provider Badge"
      width="113" height="107"
      style="max-width:100%;height:auto;border:0;"
      loading="lazy" decoding="async">
  </picture>
</a>

Download the badge:


Platform notes (quick)

  • WordPress: Use a “Custom HTML” block, or an HTML/Code widget in Elementor/Divi.
  • Squarespace: Add a Code block → paste the snippet → save.
  • Wix: Add → Embed Code → Embed HTML → paste the snippet.
  • Webflow: Add an Embed element → paste → publish.
  • Shopify: Theme Customizer → add Custom HTML/Custom Liquid section → paste.
  • Custom sites: Paste the snippet directly in your HTML.

Troubleshooting

  • No badge appears? Make sure you used an HTML/Embed/Code block, not a text/paragraph field.
  • Security/CSP issues? If your site blocks external images, use the Self-host option.
  • Badge still not updating? Add ?v=YYYYMMDD at the end of the image URL to clear cache.
  • Need a different size? Change the width value; the image scales automatically.

Questions? Contact your site administrator or CHN support.
Last updated: August 18, 2025

Community Partners:
CCR Consulting