Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/ljholiday/pitch-deck/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Pitch Deck lets you compose and present slide decks entirely inside the WordPress block editor. Insert the Pitch Deck block, add as many Slide blocks as you need, and present with keyboard, touch, autoplay, and fullscreen controls.
Features
- Block-first authoring – slides are ordinary blocks, so columns, media, embeds, and theme typography all work out of the box.
- Polished presentation layer – navigation buttons, progress bar, slide counter, optional autoplay with looping, fullscreen mode, and swipe gestures.
- Single canonical stylesheet –
assets/css/style.cssloads for both editor and front end viaenqueue_block_assets, keeping design consistent. - Shortcode support – render any pitch deck post with
[pitch_deck id="123"].
Usage
- Install the plugin in
wp-content/plugins/pitch-deckand activate it. - Create or edit a post and add the Pitch Deck block.
- Use the block toolbar or sidebar button to add slides. Each slide can contain any combination of core blocks.
- Configure autoplay, progress, counter, and navigation options from the inspector.
- Publish and present. Keyboard arrows/space navigate slides,
Escexits fullscreen, and touch devices support horizontal swipe.
Development
- Styles live in
assets/css/style.cssand must satisfy the breakpoints defined in the WordPress integration doctrine (≤600px, 601–1024px, ≥1025px). - Blocks are registered in
assets/js/blocks.jsand share the canonical stylesheet for both runtime and editor contexts. - Front-end behaviour is handled by
assets/js/frontend.js. - Run
phpcs --standard=WordPressandeslint --ext .js assets/jsto conform to coding standards.
Shortcode
[pitch_deck id="123"]
The shortcode renders the saved block content of the post ID provided and enqueues the presentation assets.