UAMS Find-a-Doc Providers Block
The UAMS Find-a-Doc Providers block displays a list of provider cards, sorted alphabetically by provider title. The list is built from filters, from individually selected providers, or from both. This block is available only on a site where the UAMS Find-a-Doc plugin is active. It is not packaged with the UAMS 2020 theme. The block pulls from the content created in that plugin on that site, so it can display only the providers that exist on the same site as the page.
The block is always full width.
What Is Displayed
Each block displays the following, in this order:
- Heading: displayed above the cards.
- Body: displayed below the heading.
- Provider cards: one card for each provider, sorted alphabetically.
- Link to more: the line of text and the button, if the link is turned on.
Provider Card
The content of each card is pulled dynamically from the provider profile, so the card content cannot be edited in the block. A change to the provider profile is reflected on both the profile and the card. Each card displays the following:
- Photo: the provider’s featured image, cropped to a 3:4 portrait. If there is no photo, a placeholder image is displayed.
- Provider name: first, middle and last name, followed by the pedigree and degrees if they are set. The name is not a separate link.
- Title: the provider’s clinical title, or “Resident Physician” for a resident.
- View Profile button: a link to the provider profile. The whole card is clickable.
Heading and Body
Both are required. The heading is displayed above the cards, and the body is displayed below the heading. The body is plain text.
Filtering
At least one filter must be filled in. If every filter is empty, the block is not displayed. The block is also not displayed if no published provider matches.
- Areas of Expertise: providers associated with the selected areas of expertise.
- Location(s): providers who see patients at the selected locations.
- Region(s): providers in the selected regions.
- Providers: individually selected providers. These are included regardless of the other filters.
A provider must match every filter that is filled in among Areas of Expertise, Location(s) and Region(s). Within a single filter, matching any of the selected values is enough.
Providers selected in the Providers filter are added to the filtered results, and a provider that appears in both is displayed once.
Cards Per Row
Select the maximum number of provider cards in each row at the largest viewport size: 4, 6, 8, 10 or 12. A value is required, and the default is 12. Change the value only to prevent a row with a single orphaned card.
Background Color
Select White or Gray. A background color is required, and the default is White.
Link to More
The link is optional. Turn on Include link to something? to display a short line of text and a button below the cards. If the option is off, nothing is displayed.
When the option is on, all of the following are required:
- Heading: the line of text displayed above the button.
- Button Text: the label on the button.
- Button URL: the destination of the button.
- Button Link Description: a description of where the link goes, such as “Learn more about the ABC Department”. It is used for accessibility and helps tell apart multiple links that use the same button text, such as “Learn more”.