New Construction

Import the New Construction 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 New Construction 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

Residences

canvas_newcon_res

One item is called a Residence. You will find them in their own admin menu once the design is installed.

  • Editor features: custom-fields, editor, excerpt, page-attributes, thumbnail, title
  • There is a listing page for all items.

Each item carries these extra settings on its edit screen:

  • Aspect

  • Bathrooms

  • Bedrooms

  • Deposit

  • Res Features

  • Res Label

  • Levels

  • Res Price

  • Internal Area

Blocks this design adds

Residences

canvas-core/newcon-residences

Display apartment types from the Residences post type as photo cards with size, price and inclusions, or render a single residence page (attributes, CTA, related residences). In the block inserter it is named Canvas Residences.

Select the block on a page and its own settings open in the sidebar, in the panels below:

The Residences settings in the block editor sidebar

Layout

  • LayoutDefaultCards Grid

    Which part of the residences design this block draws: the card grid, or one of the three single residence pieces.

    ChoicesCards GridSingle Residence - DetailsSingle Residence - CTASingle Residence - Back + Related

Query

  • ItemsDefault0

    0 shows every residence.

  • Order ByDefaultMenu Order

    What to sort the residences by.

    ChoicesMenu OrderDateTitle

  • OrderDefaultAscending

    Read the sort order forwards or backwards.

    ChoicesAscendingDescending

Display

  • Row ClassesDefaultrow g-4

    Classes on the row wrapping the cards.

  • Column ClassesDefaultcol-lg-3 col-md-6

    Classes on each column, which is where the number of cards per row is set.

  • Card ClassesDefaulthr-res-card

    Classes on the box around one residence.

  • Card Body ClassesDefaulthr-card-body

    Classes on the panel beneath each card photo.

  • Type Label ClassesDefaulthr-section-label

    Classes on the small uppercase residence type above the size line.

  • Type Label Inline StyleDefaultmargin-bottom:10px;

    Inline style on the type label. Leave it empty to take the class rule as it stands.

  • Size Line ClassesDefaulthr-card-size

    Classes on the size line under the type label.

  • Price Line ClassesDefaulthr-card-price

    Classes on the price line.

  • Price PrefixDefaultFrom

    Words before the price, e.g. From. The price itself is emphasised.

  • Inclusions List ClassesDefaulthr-feature-list

    Classes on the list of inclusions.

  • Inclusion BulletDefault-

    The mark before each inclusion. Leave empty to drop the bullet element.

  • Inclusion Bullet ClassesDefaulthr-dash

    Classes on the mark in front of each inclusion.

  • Card Button TextDefaultView Floor Plan

    Empty hides the card button.

  • Card Button ClassesDefaulthr-btn-outline-gold

    Classes on the card button.

  • Card Image SizeDefaultLarge

    Which stored size of the residence photo to load.

    ChoicesMediumMedium LargeLargeFull

  • Load Card Images ImmediatelyDefaultOn

    Skips lazy loading so the cards have their full height as soon as the grid is laid out.

  • Residences Page SlugDefaultresidences

    Slug of the residences landing page. The single layouts resolve it to a portable permalink for the type label and the Back button. Empty = no link.

  • CTA Page SlugDefaultregister-interest

    Slug of the page the single CTA button links to. Resolved to a portable permalink so the link is correct on any install or import. Empty = no button.

  • CTA Button TextDefaultRegister Your Interest

    Wording on the main button on a single residence page. Empty renders no button.

  • Back Button TextDefaultAll Residences

    Wording on the button back to the residences collection. Empty renders no button.

  • Related HeadingDefaultOther Ways to Call Harrington Home

    Heading above the row of other residences.

Was this page helpful?