Free Price County News Widget — Embed on Your Site

Show the latest Price County news on your website — completely free. Just copy and paste one line of code. No signup, no API key, no maintenance.

What It Looks Like

Two live examples — light theme (left) and dark theme (right). Both auto-update with our latest news.

Light Theme — “park falls”

Dark Theme — “phillips”


How to Add It to Your Site

Step 1: Choose your city or keyword

Step 2: Copy this code and paste it anywhere in your website’s HTML:

<div id="pc-news"></div>
<script src="https://pricecounty.fun/wp-content/plugins/pc-local-news/embed.js"
        data-pc-keyword="YOUR_CITY_HERE"
        data-pc-limit="5"
        async>
</script>

Step 3: Replace YOUR_CITY_HERE with your city (e.g., park falls, phillips, catawba, fifield)

That’s it. The widget auto-updates every 2 hours with our latest news matching your keyword.


Customization Options

Parameter Default Description
data-pc-keyword required City name or search term (comma-separated for multiple)
data-pc-limit 5 Number of news items to show (1-20)
data-pc-excerpt false Set to “true” to show a short excerpt under each title
data-pc-theme light “light” or “dark” — matches your site’s color scheme
data-pc-title auto Custom heading text (default: “Latest [keyword] News”)
data-pc-target auto CSS selector for a custom container element
data-pc-width 100% Max width (e.g., “400px” or “100%”)

Examples

Dark theme, 3 items, with excerpts:

<div id="pc-news"></div>
<script src="https://pricecounty.fun/wp-content/plugins/pc-local-news/embed.js"
        data-pc-keyword="park falls"
        data-pc-limit="3"
        data-pc-excerpt="true"
        data-pc-theme="dark"
        async>
</script>

Multiple cities:

<div id="pc-news"></div>
<script src="https://pricecounty.fun/wp-content/plugins/pc-local-news/embed.js"
        data-pc-keyword="park falls,phillips,fifield"
        data-pc-limit="10"
        async>
</script>

Why We Offer This Free

Price County Fun is a local journalism project covering Price County, Wisconsin. We believe local news should be easy to share. If you run a local business website, real estate listing page, community group site, or tourism page, this widget keeps your visitors informed about what’s happening in the area — at no cost to you.

The widget includes a small “Powered by Price County Fun” link at the bottom. That’s the only “cost” — a backlink that helps us continue producing local journalism.

Technical Details

  • No dependencies: Vanilla JavaScript, no jQuery or frameworks needed
  • Lightweight: ~4KB script, loads asynchronously
  • Responsive: Works on mobile and desktop
  • Auto-updating: Feed refreshes every 2 hours
  • SEO-friendly: Links open in new tabs with rel="noopener"
  • CORS-enabled: Works on any domain
  • No tracking: We don’t track your visitors or collect analytics from the widget

REST API (For Developers)

If you prefer to build your own integration, you can use the WordPress REST API directly:

GET https://pricecounty.fun/wp-json/wp/v2/posts?search=park+falls&per_page=5&orderby=date&order=desc&_fields=id,title,link,date,excerpt

Returns JSON with post ID, title, link, date, and excerpt for each post. No API key required. See the WordPress REST API docs for full details.

Questions?

Email us at [email protected] or visit our news section to see what we cover.

Scroll to Top