Feature #18193
closedCV "bottom" section
0%
Description
This is a ticket to discuss implementation of the "bottom" section of the CV. This section is made up of an arbitrary number of rows, and each row has two "cells": the "field title" and the "field content".
My initial thought is that we'll create a block "CV Row" or something like that. This Row block will enforce a Heading block on the left. On the right, we'll have InnerBlocks with a pretty generous subset of allowedBlocks. The entire bottom section would then be its own block type, with allowedBlocks limited to 'CV Row' only.
When creating a new CV, we can probably fill in a few placeholder rows - say, Education, Academic Interests, and Positions, similar to how our current profiles work. But we should have logic in the display of blocks, perhaps just in the CSS but maybe in the form of a content filter, that prevents these placeholder blocks from appearing on the public CV if the user hasn't filled them in.
One special case will be the Positions row, which will need a special Positions block. This will mirror the current functionality of Positions, which stores the position data in a structured way (using WP taxonomies). We'll use one of the block save callbacks to parse the block content and mirror it as necessary.
Related issues