Data and Map Widgets #

These shortcodes rely on the “CARES Data Tools” plugin. You can try out the API powering these widgets. Note that the site using these widgets has to be granted access by the API service.

Allowed parameters:

  • type => default: indicator_report
  • report_id => default: libraryCHNA
  • indicator_id => default: 700 (“Total Population” indicator)
  • area_type => default: county
  • area_ids => default: 29019

Map widget

Example code: [cares-data-tools-map indicator_id="205"]

Gauge (Dial) Widget

Example code: [cares-data-tools-gauge indicator_id="205"]

Table Widget

Example code: [cares-data-tools-table indicator_id="205"]

All-in-One Widget

Outputs a block of data for an indicator, including a table of the results, a data gauge and a thumbnail map. To turn off one of the pieces, specify
include_table="false" or include_map="false" or include_gauge="false"
Example code: [cares-data-tools-widget report_id="libraryCHNA" indicator_id="205" area_ids="29019"]

Progress Bars #

Example code: [progress_bar status="2" steps="Uno,Dos,Tres,Cuatro"]

  1. Uno
  2. Dos
  3. Tres
  4. Cuatro

Child Page Loops #

Examples: [child_page_excerpts_loop parent_id=213], [child_page_excerpts_loop orderby="menu_order" order="ASC"]

Allowed parameters:

  • parent_id => defaults to current page ID if not provided
  • orderby => default: 'date' Other possibilities: 'title', 'ID', or 'menu_order' (use this if you manually set the “page order” value for each page).
  • order => default: 'DESC' Other option is ‘ASC’.

If you want to loop through the children of the current page, you do not need to provide a parent_id. However, if you want to display the children of a specific page on any old page, you can provide the parent_id.

Shortcode Examples Child Page (Middle)

Humor is laughing at what you haven’t got when you ought to have it … what you wish in your secret heart were not funny, but it is, and you must laugh. Humor is your own unconscious therapy. Like a welcome summer rain, humor may suddenly cleanse and cool the earth, the air, and you.

Shortcode Examples Child Page (Oldest)

Let America be the dream the dreamers dreamed – Let it be that great strong land of love Where never kings connive nor tyrants scheme That any man be crushed by one above.