Wing Services List
Editable services list block for the NorthWing Digital assessment.
by Fernando Falcon · github.com/ferfalcon/northwingdigital-wing-services-list
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ferfalcon/northwingdigital-wing-services-list/archive/refs/heads/main.zipWing Services List is a WordPress block plugin that lets editors build and maintain a services list directly in the Gutenberg editor. Each service can include a title, short description, visual image or fallback label, optional link, and featured styling.
Installation
- Copy or clone this repository into
wp-content/plugins/wing-services-list/. - From the plugin directory, run
npm installif dependencies are not installed. - Run
npm run buildto generate production assets. - Activate Wing Services List in the WordPress Plugins screen.
How to Test
- Open a post or page in the block editor.
- Insert the Wing Services List block.
- Edit the heading, intro, service titles, descriptions, visuals, links, and featured state.
- Add, remove, and reorder service items.
- Save the post and confirm the front end renders the same services list.
- Switch between card and list layouts, then check the block on desktop and mobile widths.
Implementation Choice
This is a Gutenberg block plugin using block.json, @wordpress/scripts, scoped block styles, and server-side rendering in PHP. Gutenberg was chosen over an Elementor widget because it works with WordPress core, is easier to test in a clean install, and avoids third-party page-builder dependencies.
Completed Features
- Single custom block:
northwing/wing-services-list. - Editable default service items.
- Add, remove, and reorder controls.
- Media library image selection with editable alt text.
- Fallback visual text when no image is selected.
- Optional heading, intro, service links, featured state, card/list layout, columns, visual shape, theme, and accent color controls.
- Responsive card and list layouts.
- Server-rendered front-end markup with escaped PHP output.
- Scoped editor and front-end CSS.
Outstanding Improvements
- Add automated editor/front-end browser tests.
- Add drag-and-drop reordering.
- Add optional link target and rel controls.
- Add richer image focal point or size controls if needed.