Doctors
Import the Doctors design and it brings blocks and content types of its own, on top of the main Canvas library. Read this page when you are working on a site built from Doctors and meet a block you cannot find in the main reference.
These items stay registered on every site so that content you have already imported keeps rendering, and they appear in the block inserter only where the design is in use.
Content types this design adds
Doctors
canvas_docs_doctor
One item is called a Doctor. You will find them in their own admin menu once the design is installed.
- Editor features: editor, excerpt, page-attributes, thumbnail, title
Each item carries these extra settings on its edit screen:
Doctor Bio
Experience
Languages
Qualifications
Doctor Role
Specialties
canvas_docs_service
One item is called a Specialty. You will find them in their own admin menu once the design is installed.
- Editor features: editor, excerpt, page-attributes, thumbnail, title
Each item carries these extra settings on its edit screen:
Service Area
Consultants
Service Dept
Service Dept Title
Clinic Hours
Service Intro
Location
Service Point Icon
Service Points
Service Points Style
Service Summary
Blocks this design adds
Doctors
canvas-core/docs-doctors
Portrait tiles of your practitioners with their name and specialty, driven by the doctor records, plus the doctor single layouts. In the block inserter it is named Canvas Doctors.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Layout
LayoutDefaultDoctor Tiles
Which part of the design this block draws: the row of doctor tiles, or one of the three pieces that build a single doctor page. The single pieces render nothing anywhere else.
ChoicesDoctor TilesSingle Doctor - AttributesSingle Doctor - CTASingle Doctor - Back + Related
Query
DoctorsDefault
00 shows every published doctor.
Skip FirstDefault
0How many doctors to step over before the row starts. Use it to run a long line-up across two rows.
Order ByDefaultMenu Order
What decides the sequence doctors appear in: the order you arranged them in, when each was published, or the doctor name.
ChoicesMenu OrderDateTitle
OrderDefaultAscending
Whether that sequence runs forwards or backwards. With Order By set to Title, Ascending lists from A to Z.
ChoicesAscendingDescending
Display
Row ClassesDefault
row row-cols-lg-6 row-cols-sm-2 row-cols-1 g-4Style classes on the row holding the tiles, which is what decides how many fit across it.
Row Inline StyleDefaultEmpty
Styling written straight onto the row, usually a small nudge so two rows sit slightly offset from one another.
Tile ClassesDefault
colStyle classes on each doctor tile.
Portrait ClassesDefault
rounded-6 mb-2Style classes on the portrait itself, such as the corner rounding and the gap under it.
Name ElementDefaultH4
Which heading level the doctor name is written as. Match it to the headings around the row so the page outline stays in order.
ChoicesH2H3H4H5H6Span
Name ClassesDefault
mb-0Style classes on the doctor name.
Specialty ClassesDefault
fw-lightStyle classes on the specialty caption under the name.
Link Tiles to the Doctor PageDefaultOff
Off renders each tile as a plain panel. On makes the whole tile a link to that doctor.
Portrait SizeDefaultLarge
Which stored size of the portrait the tiles load. A smaller size makes a long line-up quicker to arrive, at the cost of sharpness on large screens.
ChoicesFullLargeMediumThumbnail
Media Marker ClassDefaultOn
Adds the media library's own wp-image class to each portrait, which is what keeps the picture in proportion when its column scales it. Turn it off only for a design that sizes the photograph itself.
Load Portraits EagerlyDefaultOff
Load every portrait straight away instead of waiting until it scrolls into view. Turn it on when a script measures the row as the page loads.
Doctors Page SlugDefault
doctorsSlug of the doctors landing page. The single layouts resolve it for the specialty eyebrow and the back button. Empty = no link.
CTA Page SlugDefault
contactSlug of the page the single-cta button links to. Resolved to a portable permalink. Empty = no button.
CTA Button TextDefault
Request an AppointmentWording on the button at the foot of a doctor page. Leave it empty and no button appears.
Back Button TextDefault
Back to DoctorsWording on the button that returns a visitor from a doctor page to the full line-up. Leave it empty and no button appears.
Related Row HeadingDefault
More of our DoctorsHeading above the row of other doctors at the foot of a doctor page. Leave it empty to show them with no heading.
Related DoctorsDefault
6How many other doctors that row holds. Set it to 0 to leave the row out.
Medical Specialties
canvas-core/docs-services
The specialty card grid and the department tab set, driven by the specialty records, plus the specialty single layouts. In the block inserter it is named Canvas Medical Specialties.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Layout
LayoutDefaultSpecialty Cards
Which part of the design this block draws: the specialty card grid, the department tab strip, the department panels, or one of the three pieces that build a single specialty page. The single pieces render nothing anywhere else.
ChoicesSpecialty CardsDepartment Tab StripDepartment PanelsSingle Specialty - AttributesSingle Specialty - CTASingle Specialty - Back + Related
Query
SpecialtiesDefault
00 shows every published specialty.
Order ByDefaultMenu Order
What decides the sequence specialties appear in: the order you arranged them in, when each was published, or the specialty name. The department tabs always follow their own department position.
ChoicesMenu OrderDateTitle
OrderDefaultAscending
Whether that sequence runs forwards or backwards. With Order By set to Title, Ascending lists from A to Z.
ChoicesAscendingDescending
Cards
Grid ClassesDefault
row row-cols-xl-5 row-cols-lg-4 row-cols-sm-2 row-cols-1 services-categories g-4 align-items-stretchStyle classes on the grid holding the specialty cards, which is what decides how many fit across it.
Card ClassesDefault
services-category-itemStyle classes on each specialty card. The design numbers the cards from this class, so keep it if you want the counters.
Card Link ClassesDefault
card border-0 rounded-6Style classes on the link that fills each card.
Card Body ClassesDefault
card-body justify-content-center align-items-center px-4 py-5 text-centerStyle classes on the padded box inside each card.
Card Title ElementDefaultH4
Which heading level the specialty name is written as on a card. Match it to the headings around the grid so the page outline stays in order.
ChoicesH2H3H4H5H6
Card Title ClassesDefault
my-1Style classes on the specialty name inside a card.
Card Summary ClassesDefault
text-smallerStyle classes on the short line of conditions under the specialty name.
Departments
Tab Strip ClassesDefault
nav nav-pills mb-5 justify-content-centerStyle classes on the row of department tabs.
Tab Strip IDDefault
categories-tabThe id the tab strip carries, which the design styles the pills through. Empty adds no id.
Tab Item ClassesDefault
nav-itemStyle classes on each tab in the strip.
Tab Button ClassesDefault
nav-linkStyle classes on each tab button. The open tab also takes an active class.
Panels Wrapper ClassesDefault
tab-content px-lg-6Style classes on the box holding the department panels.
Panels Wrapper IDDefault
pills-tabContentThe id the panels box carries. Empty adds no id.
Panel ID PrefixDefault
pills-What each panel id starts with. The rest of the id is the specialty slug, so a tab and its panel always agree.
Panel ClassesDefault
tab-pane fadeStyle classes on every department panel. The open panel also takes show and active.
Panel Row ClassesDefault
row justify-content-between align-items-stretchStyle classes on the row that splits a panel into its text and picture halves.
Panel Text Column ClassesDefault
col-md-5Style classes on the text half of a panel, which is what sets its width.
Panel Picture Column ClassesDefault
col-md-6Style classes on the picture half of a panel, which is what sets its width.
Panel Heading ElementDefaultH3
Which heading level a department panel opens with.
ChoicesH2H3H4
Panel Heading ClassesDefault
display-5Style classes on a department panel heading.
Panel Lead ClassesDefaultEmpty
Style classes on the opening paragraph of a panel whose highlights are a ticked list.
Panel Lead Classes (labelled rows)Default
mb-0Style classes on the opening paragraph of a panel whose highlights are labelled rows, where a rule sits between the two instead of a margin.
Panel Rule ClassesDefault
line my-4Style classes on the rule drawn between the lead paragraph and labelled highlight rows. Empty draws no rule.
Highlight List ClassesDefault
list-unstyled text-largerStyle classes on the ticked highlight list.
Highlight Item ClassesDefault
mb-3Style classes on each entry of the ticked highlight list.
Labelled Row ClassesDefault
d-inline-flexStyle classes on each labelled highlight row.
Highlight Label ClassesDefault
fw-semibold color fs-5Style classes on the bold label that opens a labelled highlight row.
Highlight Icon ClassesDefault
bi-check-circle-fill me-2 color-yellowIcon classes on the tick beside each highlight in a ticked list. A specialty can override this on its own screen.
Highlight Icon Classes (labelled rows)Default
bi-check-circle-fill me-2 fs-4 color-yellowIcon classes on the tick beside each labelled highlight row, which the design draws larger.
Panel FlourishDefault
0The small decorative mark placed above the heading of every department panel. Leave it empty for no flourish.
Panel Flourish ClassesDefault
position-absolute top-0 start-0 translate-middle d-none d-md-blockStyle classes that place the flourish against the corner of the panel.
Panel Flourish WidthDefault
36How wide the flourish is drawn, in pixels. 0 adds no width.
Panel Picture ClassesDefault
rounded-6 h-100 object-coverStyle classes on the department photograph.
Media Marker ClassDefaultOn
Adds the media library's own wp-image class to each department photograph, which is what keeps the picture in proportion when its column scales it.
Picture SizeDefaultLarge
Which stored size of the department photograph the panels load.
ChoicesFullLargeMediumThumbnail
Display
Specialties Page SlugDefault
servicesSlug of the specialties landing page. The single layouts resolve it for the care-area eyebrow and the back button. Empty = no link.
CTA Page SlugDefault
contactSlug of the page the single-cta button links to. Resolved to a portable permalink. Empty = no button.
CTA Button TextDefault
Request an AppointmentWording on the button at the foot of a specialty page. Leave it empty and no button appears.
Back Button TextDefault
Back to SpecialtiesWording on the button that returns a visitor from a specialty page to the full list. Leave it empty and no button appears.
Related Row HeadingDefault
Other SpecialtiesHeading above the row of other specialties at the foot of a specialty page. Leave it empty to show them with no heading.
Related SpecialtiesDefault
5How many other specialties that row holds. Set it to 0 to leave the row out.


