Requirements
- WordPress 6.5 or newer and PHP 7.4 or newer.
- For live content: your own Mayo Clinic Health Information Library content license and API credentials (API key and trckr value), from Mayo Clinic Global Business Solutions. The plugin includes no Mayo Clinic content.
Install
- Upload the
pulsegrid-content-connectorfolder to/wp-content/plugins/(or upload the zip under Plugins → Add New) and activate it. - Go to Settings → Pulsegrid and click Create library page, or add
[pulsegrid]to any page. - The plugin starts in demo mode with sample articles. To show real content, choose Live, enter your API key and trckr value, save, and click Test API connection.
You can keep credentials out of the database by defining them in wp-config.php:
define( 'PGCC_API_KEY', 'your-api-key' ); define( 'PGCC_TRCKR', 'your-trckr-value' );
Shortcodes
[pulsegrid] — the library
Search results, the landing page with featured topics, and articles, on one page.
| Attribute | Values | Default |
|---|---|---|
sidebar | none, cta (your call-to-action box), links (topic-matched links, needs Pro) | Settings |
featured | Number of featured topics on the landing view | Settings |
[pulsegrid sidebar="cta" featured="12"]
[pulsegrid_search] — search box
A search form for any page, header or widget area. It sends visitors to your library page with results.
| Attribute | Values | Default |
|---|---|---|
placeholder | Text shown in the empty box | “Search health topics…” |
[pulsegrid_search placeholder="Search conditions, symptoms, tests…"]
[pulsegrid_topics] — topic buttons
Buttons for common topics. Each one opens a search, or a specific article when the target is a content ID. Edit the default list under Settings → Pulsegrid → Topic buttons.
| Attribute | Values | Default |
|---|---|---|
heading | Optional heading above the buttons | none |
limit | Show only the first N buttons | all |
topics | Your own list for this spot: Label|target pairs separated by semicolons. A target like CON-20373631 opens that article; anything else runs a search. | Settings list |
[pulsegrid_topics heading="Popular topics" limit="6"] [pulsegrid_topics topics="Heart attack|heart attack; Flu shot|flu vaccine"]
Sidebar
Beside search results and articles you can show nothing, or one call-to-action box (title, text, button and link, e.g. “Find a Doctor”). With Pulsegrid Pro the sidebar can instead show links to your own providers and services matched to each article’s topic. Set the default under Settings → Pulsegrid, or per page with the sidebar attribute.
Styling
Fonts, text and link colors always come from your theme. Under Settings → Pulsegrid, link the accent color (buttons, badges, the sidebar box) to one of your theme’s palette colors so it follows the theme, or pick a custom color. Choose Layout only to turn off the plugin’s cards and buttons and style everything in your theme. The accent is also a CSS custom property:
.pgcc { --pgcc-accent: #0b8f8a; }
Template overrides
Copy any file from the plugin’s templates/ folder into your-theme/pulsegrid/ and edit it there. Your copy is used instead and survives plugin updates.
WP-CLI
wp pulsegrid status # mode, library page, cache wp pulsegrid test # test the API connection wp pulsegrid cache clear # clear cached content
External service
In Live mode your server calls the Mayo Clinic Content Delivery API (cdapi.mayoclinic.org) when a visitor searches, opens an article or loads an uncached image, and when an administrator tests the connection. It sends your API key and trckr value, the search terms, page number, content or image ID and language. Visitors’ IP addresses, cookies and other personal data are not sent. Demo mode makes no external requests. See Mayo Clinic’s terms of use and privacy policy.
Pulsegrid Pro
The Pro add-on needs Pulsegrid Content Connector 0.6 or newer. After installing it, set the sidebar to Links matched to the article’s topic, then add rows under Settings → Pulsegrid → Sidebar links, or import the CSV template. Enter your update key on the same tab to get new versions under Dashboard → Updates. Links saved by Pulsegrid 0.5 are picked up automatically.