WordPress plugin

Interactive Body Chart for WordPress

Documentation for the WordPress plugin, free version and Pro: build a clickable anatomy chart in a visual dashboard, then place it with a shortcode or a block.

This documentation covers the Interactive Body Chart WordPress plugin, including the free version and Pro. For the Vanilla JS package, see the Vanilla JS docs.

This documentation covers both the free version (Interactive Body Chart) and Interactive Body Chart - Pro. Sections and features marked Pro are only in Pro, and notes marked Free describe how the free version differs. In the free version the admin menu is "Body Chart", the shortcodes are [ibca-body-chart], [ibca-body-chart-2] and so on, the block is "Body Chart", and you can make several charts with the Male Front and Female Front layers. Tooltips are one line of plain text, and a small "Body chart by Human Anatomy Illustrations" credit link is shown under the chart. Where this document shows [body-chart-pro] or [body-chart-pro-2], use [ibca-body-chart] or [ibca-body-chart-2]. Pro is available at humananatomyillustrations.com.

Introduction

Free The free version has several charts with the Male Front and Female Front layers: every part is clickable, with a one-line tooltip, a link and its own colors, and a layer switcher, color theming, size and alignment. Regions, pins, zoom, rich tooltips, popups (modal windows) and the other 6 layers are in Pro.

Interactive Body Chart - Pro turns anatomy illustrations into clickable charts for your WordPress site. You build each chart visually in a dashboard, then place it on any page with a shortcode or a block. Visitors can hover a body part to see a tooltip, click it to open a link or a popup (modal window), switch between layers with a row of round layer icons (above or below the model image, as you choose), and zoom in.

The plugin has eight layers of clean, non-explicit educational illustrations: Male Front, Male Back, Female Front, Female Back, Internal Organs, Muscular Front, Muscular Back and Skeleton. Each chart can offer any mix of them. On top of the layers you can define:

  • parts: the clickable areas of the body, each with its own tooltip, colors and click action
  • regions: groups of parts that light up and act together, such as "Left leg"
  • pins: markers you place anywhere on the artwork, with a built-in or custom icon

You can create as many charts as you like, each with its own layers and its own shortcode: see Several charts.

Several charts

Free The free version has several charts too, each with its own layers and shortcode ([ibca-body-chart], [ibca-body-chart-2] and so on), using the Male Front and Female Front layers: for example a male chart on one page and a female chart on another. The other 6 layers are in Pro.

You don't have to put everything in one chart. Make a separate chart for each use, give it only the layers it needs, and use each chart on its own, with its own shortcode. For example:

  • a male chart with Male Front and Male Back, [body-chart-pro], on your men's health page
  • a female chart with Female Front and Female Back, [body-chart-pro-2], on your women's health page
  • a muscular chart with Muscular Front and Muscular Back for a physiotherapy or sports page
  • the skeleton alone, [body-chart-pro-3], for an orthopedics page

Every chart is independent: its own layers, parts, regions, pins, colors, tooltips, click actions and zoom. Changing one chart never changes another. Each one can go on its own page, or several can share a page.

To add a chart, open the ⋯ menu in the top bar and choose "New chart" (or "Duplicate this chart" to start from a copy). Turn on its layers on the Layers tab, click "Publish", and paste its shortcode where you want it. The chart switcher in the top bar moves between your charts. See Shortcodes and multiple charts.

Three charts in the dashboard: Male Body Chart, Female Body Chart and Skeleton Only, each with its own shortcode
Three charts, each with its own layers and shortcode: "Male Body Chart" [body-chart-pro], "Female Body Chart" [body-chart-pro-2] and "Skeleton Only" [body-chart-pro-3].

Installation

Free The free download is body-chart.zip, with the folder "Body Chart". Upload Body Chart/WordPress Version/interactive-body-chart-anatomy.zip. The plugin is listed as "Interactive Body Chart", and the menu is called "Body Chart". The first chart is ready with the shortcode [ibca-body-chart], with both layers on.

Unzip the download, body-chart-pro.zip. It contains the folder "Body Chart Pro". Inside it, the folder "WordPress Version" holds the installable plugin, interactive-body-chart-anatomy-pro.zip, and this documentation. Do not unzip interactive-body-chart-anatomy-pro.zip itself: WordPress installs it as it is.

  1. In wp-admin go to Plugins → Add New → Upload Plugin.
  2. Choose interactive-body-chart-anatomy-pro.zip, click "Install Now", then "Activate".
  3. The plugin is listed as "Interactive Body Chart - Pro", and a new menu called "Body Chart Pro" appears in the sidebar. Open it. A first chart named "Body Chart" is already there, with the shortcode [body-chart-pro].

To update, upload the new interactive-body-chart-anatomy-pro.zip the same way and choose "Replace current with uploaded". Your charts are kept. Scripts and styles carry a version number that changes with every update, so visitors and the dashboard never keep an old copy.

Requirements: WordPress 6.0 or newer and PHP 7.4 or newer. If the free version (Interactive Body Chart) is installed, Pro takes its place and keeps your charts: see Coming from the free version.

Quick start

  1. Open "Body Chart Pro". All eight layers are already on; untick the ones you don't want on the Layers tab.
  2. On the Parts tab, click a part and give it a tooltip and a click action (a link or a popup).
  3. Click "Publish".
  4. Copy the shortcode from the top bar, paste it into a page and view the page.

The dashboard

Go to "Body Chart Pro" in the WordPress menu. The live preview is on the left and the settings are on the right, in five tabs: Layers, Parts, Regions, Pins and Settings.

The top bar has:

  • the chart switcher, a dropdown of all your charts
  • the chart name
  • the chart's shortcode with a "Copy" button
  • the ⋯ menu: New chart, Rename, Duplicate this chart, Discard unpublished changes and Delete this chart
  • the save status
  • the "Save draft" and "Publish" buttons
Chart menu
The ⋯ menu manages your charts.

The live preview

The preview behaves like the real chart on your site and always reflects your current settings, even before you save them. Hover a part to see its tooltip and hover color, hover a region to highlight all of its parts, click a part to see its active color, and click a part or pin with a popup action to open the popup (modal window) right in the preview. Change a color or a tooltip and the preview updates immediately.

Two things are different from the live site, on purpose:

  • Links never open. If you click a part that has a link, a short message tells you where it would go.
  • Pins can be dragged and dropped, so you can place them exactly where you want them.

The mouse pointer is a normal arrow over empty areas, and a pointer (hand) over parts and pins, just like on the live site.

Preview showing a hover color and a tooltip
The preview shows hover colors and tooltips exactly as visitors see them.

Layers tab

Free The free version has the Male Front and Female Front layers. The other 6 layers (male and female back, internal organs, muscular front and back, skeleton) are in Pro. In the free version downloaded from humananatomyillustrations.com, the Layers tab lists them too, inactive, with a Pro badge.

All eight layers are on for a new chart. Tick or untick the layers this chart should offer. Choose the default layer (the one shown first) and, if you like, type your own label for the layer, for example "Organs" instead of "Internal Organs". The label is the layer's name in the layer switcher: the tooltip of its icon, or the text of its button. Use the arrows to change the order. Visitors see a layer switcher when more than one layer is on. You can hide it with "Show layer switcher".

Layers tab

Parts tab

Free In the free version a part has a one-line text tooltip, "Nothing" or "Open a link" for its click, and its colors. Rich tooltips, popups (modal windows) and regions are in Pro.

Every clickable body part of a layer is listed here.

  • The "Layer" dropdown lists only the layers you turned on. Changing it also switches the preview.
  • "Find a part" filters the list as you type.
  • The checkbox on each row turns that part on or off. A part that is off isn't clickable and has no tooltip.
  • The list shows eight rows at a time and scrolls when there are more.
  • Click a row to edit that part. Its settings open in a separate section below the list, one part at a time. The row you are editing is marked "Editing" and has a colored edge, so you can always see which part it is.

The settings of a part are:

  • Tooltip: a small rich-text editor with bold, italic, color, lists and images. Leave it as it is to show the part name in capitals, or empty it for no tooltip.
  • When clicked: do nothing, open a link (same tab or new tab), or open a popup (modal window) that shows only the content you write, with optional buttons. See Popup content.
  • Colors: the color at rest, its opacity, the hover color and the active (clicked) color. Each has a "Reset" link back to the chart colors.
  • Region: puts the part into a region.
Parts tab with eight rows and the edit section below
Editing "Head". The list shows eight rows at a time, in a fixed order from head to foot, and the settings of the open part are below it.

Regions tab Pro

A region groups several parts so they light up and act as one, for example "Left leg" = thigh + knee + leg + ankle. Type a name and click "Add region", then click a region in the list to edit it below. Add parts with the dropdown. They show as chips that you can remove with ×. A region has its own tooltip, click action and hover color. A part belongs to one region at a time.

Regions tab

Pins tab Pro

Pins are markers placed anywhere on the artwork. They aren't tied to a body part. On the Pins tab, click anywhere on the preview to drop a pin, or click "Add pin" and then click the chart. Drag a pin to move it, or click it to edit it below the list. The X and Y fields show the position in percent, to one decimal. Each pin has:

  • a name, used for screen readers and to label its popup for them (it is not shown as a title)
  • an icon: dot, plus, info, number, or your own custom icon
  • a size and a color
  • its position
  • a tooltip and a click action (nothing, a link, or a popup)

You can add up to 500 pins per chart.

Pins tab

Custom pin icons

Set the icon to "Custom icon (image or SVG)", then click "Upload or choose" to pick an image from the Media Library, or paste an image URL. PNG, JPG, WebP, GIF and SVG all work. Square images of about 64×64 px look best.

SVG uploads are safe. WordPress doesn't normally allow SVG uploads because an SVG file can contain scripts. This plugin allows them only for administrators, only from the Body Chart Pro dashboard, and it cleans every SVG on upload: it keeps drawing elements only and removes scripts, on… event attributes, external links and references, javascript: and data: URLs, DOCTYPE and entities. Pins also always show icons in an <img> tag, and a browser never runs scripts inside an image. SVG uploads elsewhere on your site stay blocked.

Settings tab

Free The free version has no region, pin, popup (modal window) or zoom settings. It has a Credit link section instead, and a Pro features tab after the Settings tab lists what Pro adds, with a screenshot of each feature.

These settings apply to the whole chart. Every setting is applied to the preview as you change it.

  • Colors: a preset (Classic red, Medical blue, Teal and more), the part color and its opacity, hover and active colors and opacities, the outline color and outline width, "Always show part outlines" and the background.
  • Tooltips: turn tooltips on or off and set their background and text colors. By default tooltips have dark text on a white background.
  • Layer switcher, regions and pins: the layer switcher style (Icons or Text buttons), the layer switcher position (above or below the model image) and their colors.
  • Popups (modal windows): popup background and text, page overlay, and button colors.
  • Size and fonts: maximum width, maximum height, alignment and font. See below.
  • Behavior: what the first tap does on phones and tablets.
  • Zoom: on by default. See Zoom and pan.
  • Export / Import (JSON): see Export and import.
  • Restore default settings: the last button of the tab, see below.

Every opacity is a number from 0 to 100 percent (0 is invisible, 100 is solid). Leave an opacity empty on a part or region to use the chart setting.

Settings tab

Size and fonts

The maximum width and maximum height apply to the whole chart component, layer switcher included:

  • Maximum width limits the whole chart. On a narrow width the layer switcher buttons wrap onto more lines. A value of 0 means the full width of the content area.
  • Maximum height limits the layer switcher and the illustration together, so the illustration gets the height that is left. A value of 0 means no limit.

The chart is always responsive below these limits.

Lighter images

The model images are shown at full quality by default: lossless, with a transparent background. Under Size and fonts, the "Lighter images (faster loading)" checkbox switches the chart to compressed copies of the same images, still transparent, so the chart loads faster for visitors. They are about 4 to 5 times smaller (for example Male Front about 100 KB instead of 435 KB), with a small loss of fine detail. Leave it off for the highest quality.

The setting belongs to each chart and follows Save draft and Publish like every other setting, so the preview shows it at once and visitors see it after you publish. Visitors only download the images of the version you chose. Restore default settings turns it off again.

Layer loading

The chart shows its first layer as soon as that image has loaded, then loads its other active layers in the background, so switching layers is instant, even before a visitor points at a layer icon. Only the layers you turned on for that chart are loaded: a layer that is off is never downloaded. If a visitor switches to a layer before it has finished loading (on a slow connection, for example), a small blurred preview of that layer, built into the plugin's script, shows at once and fades into the full image as soon as it arrives. Both work the same way with or without Lighter images, and every image comes from your own site.

Restore default settings

The button at the very bottom of the Settings tab, below Export / Import, sets every setting of the chart back to its default: the layers (which are on, their order, labels and the default layer), colors, tooltips, popups (modal windows), size, behavior and zoom. Your parts, regions and pins, with all their content, are kept. A confirmation dialog explains this before anything changes. When you confirm, the result is saved as a draft and the page reloads on the Settings tab with the notice "Default settings restored". Visitors still see the published chart: click "Publish" to make the defaults live, or choose "Discard unpublished changes" in the ⋯ menu to go back.

Export and import

At the bottom of the Settings tab, "Export / Import (JSON)" lets you back up charts or copy them to another site.

  • "Export this chart" downloads the chart you are editing as a .json file, including changes you haven't saved yet.
  • "Import from file…" reads such a file. If the file holds several charts (files exported by older versions can), you choose which one to import. Then a dialog asks you to confirm that the current chart will be replaced.

An import never goes live by itself. It replaces the draft of the current chart, so the site keeps showing the published version until you click "Publish". The file is validated first (it must be a Body Chart Pro export, valid JSON and no larger than 2 MB). On the server, every value is then sanitized the same way as a normal save: unknown layers and parts are dropped, colors, numbers and URLs are checked, and tooltip and popup HTML is filtered. Scripts and unsafe links in an imported file are removed. The chart name and shortcode don't change.

Zoom settings, Export / Import and, last, Restore default settings at the bottom of the Settings tab
The bottom of the Settings tab: Zoom, Export / Import, and Restore default settings as the last button.

Save draft and Publish

Changes in the dashboard are not live until you publish them:

  • "Save draft" stores your work. Visitors still see the last published version.
  • "Publish" makes the current version live everywhere the chart's shortcode or block is used.
  • "Discard unpublished changes" (in the ⋯ menu) throws the draft away and goes back to the published version.

The status next to the buttons shows "Not saved", "Draft saved" or "Published". If you try to leave the page with unsaved changes, the browser warns you first.

Draft saved status

Shortcodes and multiple charts

Free In the free version the shortcodes are [ibca-body-chart] for the first chart and [ibca-body-chart-2], [ibca-body-chart-3] and so on for the others. They take the same view and class attributes. In the free version downloaded from humananatomyillustrations.com, [body-chart] from earlier versions keeps showing the first chart.

Every chart has its own shortcode. The first chart is [body-chart-pro]. Each chart you add with ⋯ → "New chart" (or duplicate) gets the next number:

[body-chart-pro]      the default chart
[body-chart-pro-2]    the second chart
[body-chart-pro-3]    the third chart

Each chart has its own layers, so you can keep, for example, a male chart, a female chart and a skeleton-only chart, and use each one where it fits (see Several charts).

Paste a shortcode into any post, page, widget or page-builder text block. You can put several charts on the same page: each one works on its own, with its own tooltip, popup, zoom and selected layer. Renaming a chart doesn't change its shortcode. Deleting a chart removes its shortcode, so anything left on a page that uses it shows nothing.

Optional attributes

AttributeExampleWhat it does
view[body-chart-pro-2 view="female-back"]Opens on this layer instead of the chart's default layer (it must be one of the chart's layers).
class[body-chart-pro class="my-chart"]Adds a CSS class to the chart wrapper.

Gutenberg block

Free The free block is called "Body Chart" and has the same chart selector.

In the block editor, add the "Body Chart Pro" block and pick a chart in the sidebar. Charts are listed as "name [shortcode]". The block previews the published chart and has a link to edit it in the dashboard.

Block with chart selector

Tooltips

Free In the free version a tooltip is one line of plain text. Leave it as it is for the part name in capitals, or clear it for no tooltip. Formatting, colors, lists and images in tooltips are in Pro.

  • Mouse: the tooltip follows the pointer, 12 px to the right and 22 px below it. Near the right edge it flips to the left, and near the bottom of the window it moves above the pointer. It never leaves the chart box.
  • Keyboard: tab to a part and the tooltip appears centered above it, or below it if there isn't room.
  • Phones and tablets (the default is "tooltip first"): the first tap shows the tooltip and the second tap opens the link or popup (modal window). A part with no link or popup just shows its tooltip. Tapping elsewhere or scrolling closes it. Choose "One tap opens the link or popup" in Settings → Behavior to skip the tooltip on touch.
  • The tooltip closes as soon as you click.

By default a tooltip has dark text on a white background, and you can change both colors in the Tooltips section of the Settings tab. If you leave a tooltip as it is, it shows the name in capitals (for example HEAD). You can write rich content (bold, links, lists and images; an image aligned left or right sits next to the text), or empty the tooltip to show nothing. The HTML is filtered to safe tags.

Default tooltip
The default tooltip on hover.
Tooltip after a tap on a phone
On a phone, the first tap shows the tooltip.

Zoom and pan Pro

Zoom is on by default, for new installs and for every new chart. To turn it off, untick "Enable zoom & pan" in the Settings tab. While it is off, the other zoom options are grayed out. The options are:

  • Mouse wheel zoom: the wheel zooms in and out at the pointer.
  • Show zoom buttons: reset, + and − buttons, placed at the top right (the default) or the bottom right.

The maximum zoom is 1.5 times and it isn't a setting, so the artwork stays sharp. One click on + goes straight to the maximum. A zoom button that would do nothing is inactive (dimmed, not clickable, and marked aria-disabled for screen readers): + at the maximum, and − and reset while the chart is at normal size. Further wheel turns and pinches do nothing more either, and the buttons switch back as soon as they are useful again. The same rules apply in the dashboard preview and on your site. Visitors can also pinch on touch screens, and drag to pan once the chart is zoomed. The mouse pointer is a grab hand only while a pan drag is happening. Switching layers always resets the zoom.

Zoom buttons at normal size: the minus and reset buttons are inactive
At normal size, − and reset are inactive.
Zoom buttons at maximum zoom: the plus button is inactive
At the maximum (1.5 times), + is inactive.

Layer switcher

When a chart offers more than one layer, visitors get a layer switcher. By default it sits above the illustration, and you can place it below instead (see Switcher position). By default it is a row of round icons, one per layer, each showing a small picture of that layer. The icons are fixed and match the artwork, so they can't be replaced.

  • Hover or keyboard focus on an icon shows the layer's name in a tooltip that looks exactly like the tooltip of a body part. Touch screens switch on tap without a tooltip.
  • The icon has a ring in the switcher color. On hover it lifts slightly and the ring and shadow get stronger. The active layer has a solid, thicker ring. Pressing an icon gives a short press effect, and keyboard focus shows a clear focus ring. Visitors who ask their system to reduce motion get no movement at all.
  • Each icon is a real button with the layer name as its accessible label, and aria-pressed marks the active layer. Use Tab to move between icons and Enter or Space to choose.

In Settings → "Layer switcher, regions and pins", the "Layer switcher style" setting chooses "Icons" (the default) or "Text buttons", which shows the layer names as pill-shaped buttons instead. The switcher color (and, for text buttons, the switcher text color) come from the same section. "Show layer switcher" on the Layers tab hides the switcher completely. The Skeleton layer has a front view only, so it has no back icon.

Round layer icons with the layer name in a tooltip
The icon switcher. The hovered icon shows its name in a tooltip.

Switcher position

In Settings → "Layer switcher, regions and pins", the "Layer switcher position" setting places the switcher "Above the model image" (the default) or "Below the model image". The switcher is a part of the chart, so everything else follows it: the maximum width and height cover the switcher and the image together, the alignment setting aligns both, the zoom buttons stay in the corner of the image, and right-to-left sites mirror the row. With the switcher below the image, the layer name tooltip opens upward so it is never cut off. The dashboard preview shows the new position at once.

The Layer switcher position setting
The setting, in the Settings tab.
Layer switcher below the model image, with the layer name tooltip opening upward
The switcher below the image. The tooltip opens upward.

Defaults

Free In the free version both layers are on and the switcher is above the model image. There is no zoom.

A new chart starts with these settings, and "Restore default settings" brings them back:

  • Layer switcher style: icons.
  • Alignment: center.
  • Layers: all eight layers are on.
  • Layer switcher position: above the model image.
  • Zoom: on, with the buttons in the top right corner.
  • Tooltips: dark text on a white background.
  • Maximum width 560 px and no maximum height.

Charts you already have keep the settings they were saved with.

Links and popups (modal windows)

Free The free version has links. Popups (modal windows) are in Pro.

Every part, region and pin can do one of three things when clicked:

ActionResult
NothingThe item shows its active color. The tooltip still works.
Open a linkOpens the URL in the same tab or a new tab.
Open a popup (modal window)Opens an accessible popup with your content (text, lists, images, links or a video embed), plus optional buttons. It closes with Esc, the × button or a click outside.

A popup shows only the content you write: no title is added for the part, region or pin. If you want a title, start the content with a heading. The name of the part is still given to screen readers as the popup's label.

The content editor has the same buttons as the tooltip editor, plus links:

  • Paragraph or Heading (and Subheading)
  • bold, italic, underline and text color
  • numbered list and bulleted list
  • image: pick one from the Media Library. Click an image in the editor to align it left, center or right, or remove it.
  • insert link and remove link
The popup content editor with its formatting toolbar
The popup content editor. The popup shows only this content and the buttons below it.

"Add Media" above the editor also adds images and other media. To embed a YouTube or Vimeo video, paste its link on its own line. Below the editor you can add buttons, each with a label and a link. Popup content is filtered with the HTML tags WordPress allows in posts, when you save and again when the chart is shown.

Switching layers always gives a fresh view: the selection, tooltip, popup and zoom are cleared.

A popup (modal window) showing only its content: a heading, an image, formatted text, lists, a link and a button
A popup shows only your content: here a heading, an image, bold, italic and underlined text, two lists, a link and a button.

Theming

Pick a preset in Settings → Colors and fine-tune any color. Every part, region and pin can override the chart colors. A preset only changes colors.

For your own CSS, the chart exposes custom properties on the .ibcap wrapper, for example --ibcap-accent, which your stylesheet can override.

For developers

  • The filter ibcap_front_config ($config, $chart_number) lets you change a chart's configuration before it is printed on the page.
  • The filter ibcap_capability changes who can open the dashboard. The default is manage_options.
  • Charts are .ibcap-chart elements. Each one sends standard DOM events (ibcap:click, ibcap:hover, ibcap:viewchange, ibcap:zoom, ibcap:modalopen, ibcap:modalclose) from its element, and they bubble up to document. Links and popups never need them.
document.addEventListener('ibcap:click', function (e) {
  var chartNumber = e.target.closest('.ibcap-chart').dataset.chart; // 1, 2, 3...
  console.log(chartNumber, e.detail.type, e.detail.key, e.detail.view); // 1 part chest male-front
});

Calling e.preventDefault() inside an ibcap:click handler stops the built-in link or popup, so you can run your own code instead. The JavaScript version of the product documents the same events in more detail.

Updating from an earlier version

Version 3.3.6 comes with new artwork for all eight layers, so a few things look different after the update:

  • Your charts, colors, tooltips, popups (modal windows), regions and links are kept. Settings of parts that exist in the new artwork under the same name stay as they were.
  • A few parts were renamed or merged in the new artwork. Their settings move over automatically, for example Male Back "Upper back" is now "Back", "Lower back" is "Loin", "Gluteal" is "Buttocks", the Internal Organs "Small intestine" and "Large intestine" are "Intestine" and "Colon", and the small bones of the hand and foot in the Skeleton layer are now one "Hand" and one "Foot" part. A part that no longer exists is dropped without an error.
  • Pins keep their position in percent of the picture. Because the models are new, a pin can now sit in a slightly different place. Open the Pins tab and drag any pin that moved.
  • New in 3.3.6: the layer switcher position (above or below the image), all layers and zoom on by default for new charts, and "Restore default settings" as the last button of the Settings tab. "Export all charts" was removed. "Export this chart" and "Import from file…" stay.
  • On Female Front, the Chest part now covers the full chest, and Breasts always sits on top of it (like the eyes on the head), so both stay visible and clickable, also when the chest is active or in a region.
  • The parts of every layer are listed in a fixed anatomical order, from head to foot (for example Head, Right Eye, Left Eye, Nose on Male Front), on the Parts tab and in every part dropdown. This changes only the list: how the parts are drawn and clicked stays the same. Saved charts keep all their settings and show the new order too.

Left and right always mean the body's own side, as in a medical chart: a part ending in -r is the body's right side, which is on the viewer's left in a front view and on the viewer's right in a back view.

Coming from the free version

Install and activate Interactive Body Chart - Pro as usual. On activation it copies every chart of the free version (the published version and the draft, with its layers, parts, tooltips, links and colors) into Pro: the first one into its first chart, [body-chart-pro], while that one was never edited, and the others into new charts. It then switches the free plugin off and removes it, and a notice tells you where the charts went. Pages that use the free shortcodes ([ibca-body-chart], [ibca-body-chart-2] and so on, or [body-chart] from earlier free versions) or the free "Body Chart" block keep showing the same charts. To pick another chart for such a block, select it and use Transform to "Body Chart Pro". The free version can't be activated while Pro is active, and chart files exported from the free version can be imported into Pro.

Uninstalling

Free Deleting the free plugin (Interactive Body Chart) removes all of its charts and settings, except while Interactive Body Chart - Pro is installed: Pro holds a copy of the charts, and the free data is kept.

When you delete the plugin from the Plugins screen, all of its data is removed: every chart (published and draft versions) and the plugin's options. There is no setting for this. Deactivating the plugin keeps everything, so you can reactivate it later. If you want to keep a copy, use "Export this chart" on each chart first.

Security notes

  • Everything saved or imported from the dashboard is checked on the server. Tooltip and popup HTML is filtered with the tags WordPress allows, colors, numbers and URLs are validated, and only administrators (manage_options) can save, with a nonce on every request.
  • Link URLs that start with javascript:, vbscript: or data: are ignored.
  • Custom pin icons are explained under Custom pin icons.

FAQ

My changes don't show on the site.

Click "Publish". "Save draft" only stores your work. If you use a page cache plugin, clear its cache too.

The preview in the dashboard doesn't react, or the plugin looks like an older version after an update.

Your browser or a cache plugin is probably showing an old copy of the plugin's scripts. Reload the page with Ctrl+Shift+R (Cmd+Shift+R on a Mac) and clear the cache of any cache plugin or CDN. Since version 2.1.0 the scripts and styles are loaded with a version that changes on every update, and the dashboard shows a warning at the top if it finds an old script, so this should only happen once.

Clicking a part with a link in the dashboard preview doesn't open the link.

That is on purpose. The preview shows everything else exactly like the site (hover, tooltips, colors, popups), but links never open there, so you can't lose your work by accident. Open the page with the shortcode to follow links.

Can I put the layer switcher below the image?

Yes. In Settings → "Layer switcher, regions and pins", set "Layer switcher position" to "Below the model image". The default is above the image.

Can I show different charts on one page?

Yes. Each shortcode or block is its own chart with its own tooltip, popup, zoom and layer.

What happens to a chart when I delete it?

Its shortcode stops working and shows nothing. You always keep at least one chart.

Can I zoom further than 1.5 times?

No. The illustrations are raster images, and 1.5 times is the most they can be enlarged while staying sharp. The limit is fixed.

How do I move a chart to another site?

Use "Export this chart" on the first site and "Import from file…" on the second. The import goes into the draft of the chart you are editing. Review it, then click "Publish".

What does "Restore default settings" delete?

No content. It resets all settings of the chart, including the layers, and keeps your parts, regions and pins.

Is my data kept if I delete the plugin?

No. Deleting the plugin removes all charts and settings. Export your charts first if you want a copy.

Does it use jQuery?

No. The chart, the dashboard and the block are plain JavaScript. (WordPress itself loads jQuery on some of its own admin screens for the Media Library and the classic editor. The plugin never loads it on the front end.)

Can I use it with page builders such as Elementor or Divi?

Yes. Paste the shortcode into a shortcode or text widget.

Interactive Body Chart - Pro 3.3.6 · WordPress plugin · humananatomyillustrations.com