Law Firm

Import the Law Firm 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 Law Firm 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.

Blocks this design adds

Law Firm Cases

canvas-core/lawfirm-cases

Display cases from the Portfolio post type as cards, or render a single case page (attributes, contact CTA, related cases). In the block inserter it is named Canvas Law Firm Cases.

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

The Law Firm Cases settings in the block editor sidebar

Layout

  • LayoutDefaultCards Grid

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

    ChoicesCards GridSingle Case - AttributesSingle Case - Contact CTASingle Case - Back + Related

Query

  • ItemsDefault0

    0 shows all cases.

  • Order ByDefaultMenu Order

    What to sort the cases by.

    ChoicesMenu OrderDateTitle

  • OrderDefaultAscending

    Read the sort order forwards or backwards.

    ChoicesAscendingDescending

Display

  • Row ClassesDefaultrow gutter-30

    Classes on the row wrapping the cards.

  • Column ClassesDefaultentry col-md-6 col-lg-4

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

  • Card Button TextDefaultView Case

    Wording on the card button.

  • Cases Page SlugDefaultrecent-cases

    Slug of the recent-cases landing page. The single layouts resolve it to a portable permalink for the practice-area eyebrow and the "Back to Cases" button. Empty = no link.

  • Contact Page SlugDefaultcontact

    Slug of the page the single-cta "Discuss Your Case" button links to. Resolved to a portable permalink so the link is correct on any install / import. Empty = no button.

  • CTA Button TextDefaultDiscuss Your Case

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

  • Back Button TextDefaultBack to Cases

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

  • Related HeadingDefaultRelated Cases

    Heading above the row of other cases.

Was this page helpful?