Portfolio Excerpt

Displays a trimmed excerpt for the current portfolio item. It is shown in the block inserter as Canvas Portfolio Excerpt and registered as canvas-core/portfolio-excerpt.

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

The Portfolio Excerpt settings in the block editor sidebar

Settings

Each setting is named exactly as the block editor names it, followed by what it does and what it starts as. Where a setting carries a Shown when line, it stays hidden until that condition is met, which is the usual reason a setting looks missing from the sidebar:

Content

  • Word CountDefault20

    Longest the extract runs before it is cut short, in words.

  • AlignmentDefaultLeft

    Where the extract sits across its container.

    ChoicesLeftCenterRight

  • WrapperDefaultContainer element

    None drops the outer container so the text element is the block root.

    ChoicesContainer elementNone (bare text element)

  • Text Element ClassesDefaultEmpty

    Classes added to the heading or paragraph tag itself.

  • Inner Span ClassesDefaultEmpty

    Wraps the text in a span carrying these classes, used for fill, gradient and highlight effects.

  • Inner Span StyleDefaultEmpty

    Inline style on the inner span. It reaches the page only once Inner Span Classes is set, since the span exists to carry them.

Every Canvas block also carries the Animation, Scroll Effects and Advanced panels, which are described in Controls every Canvas block has.

Other blocks in Canvas: Alerts, Buttons, Code Highlight, Counters, Dividers, Dropcaps.

Was this page helpful?