Yacht

Import the Yacht 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 Yacht 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

Destinations

canvas_yacht_dest

One item is called a Destination. 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:

  • Nights

  • Ports

Yachts

canvas_yacht_vessel

One item is called a Yacht. 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:

  • Crew

  • Features

  • Guests

  • Length

  • Price

  • Price Unit

Blocks this design adds

Yacht Destinations

canvas-core/yacht-destinations

Display the charter destinations as photo cards, or one destination's own card, or the other destinations on a destination page. In the block inserter it is named Canvas Yacht Destinations.

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

The Yacht Destinations settings in the block editor sidebar

Layout

  • LayoutDefaultDestination Cards

    Which part of the destinations design this block draws. Destination Cards lists them; each "Single Destination" choice renders one part of the destination page you place it on.

    ChoicesDestination CardsSingle Destination - Its CardSingle Destination - Other Destinations

Query

  • ItemsDefault0

    0 shows every destination. The other-destinations row shows 3 when this is 0.

  • Order ByDefaultMenu Order

    What decides the sequence of the cards. Menu Order lets you arrange them by hand on the destinations list screen.

    ChoicesMenu OrderDateTitle

  • OrderDefaultAscending

    Which end of that sequence comes first.

    ChoicesAscendingDescending

Display

  • Grid ClassesDefaultrow g-3

    Class names on the row holding the cards.

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

    Class names on the column around each card, which sets how many cards share a row.

  • Image ClassesDefaultdest-bg w-auto

    Class names on the photo filling each card.

  • Show the Destination LinkDefaultOn

    Add a link to the destination's own page on each card.

  • Link TextDefaultExplore →

    Wording of the link on each card.

    Shown when Show the Destination Link is on

Yacht Fleet

canvas-core/yacht-fleet

Display the charter yachts as fleet cards, or one yacht's own card, or the other yachts on a yacht page. In the block inserter it is named Canvas Yacht Fleet.

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

The Yacht Fleet settings in the block editor sidebar

Layout

  • LayoutDefaultFleet Cards

    Which part of the fleet design this block draws. Fleet Cards lists the yachts; each "Single Yacht" choice renders one part of the yacht page you place it on.

    ChoicesFleet CardsSingle Yacht - Its CardSingle Yacht - Other Yachts

Query

  • ItemsDefault0

    0 shows every yacht. The other-yachts row shows 2 when this is 0.

  • Order ByDefaultMenu Order

    What decides the sequence of the cards. Menu Order lets you arrange them by hand on the yachts list screen.

    ChoicesMenu OrderDateTitle

  • OrderDefaultAscending

    Which end of that sequence comes first.

    ChoicesAscendingDescending

Display

  • Grid ClassesDefaultrow g-4

    Class names on the row holding the cards.

  • Column ClassesDefaultcol-lg-6

    Class names on the column around each card, which sets how many cards share a row.

  • Length IconDefaultuil uil-ruler-combined

    Icon beside the yacht's length.

  • Guests IconDefaultuil uil-users-alt

    Icon beside how many guests the yacht sleeps.

  • Crew IconDefaultuil uil-user-circle

    Icon beside the size of the crew.

  • Rate Unit Inline StyleDefaultfont-size: 0.9rem; font-weight: 400; color: #5A7A9A;

    Styling on the unit after the price, such as / week.

  • Show the Yacht LinkDefaultOn

    Add a link to the yacht's own page under each card.

  • Link TextDefaultView Yacht Details

    Wording of the link under each card.

    Shown when Show the Yacht Link is on

  • Link IconDefaultuil uil-arrow-right

    Icon after the link wording.

    Shown when Show the Yacht Link is on

Was this page helpful?