Description
Your vision. Beautifully built in WordPress.
Codexa Blocks is a collection of customizable Gutenberg blocks that bring layout, style and interaction to the WordPress block editor. Build bold landing pages, service pages, portfolios and resource libraries, with control over the details on desktop, tablet and mobile.
The blocks are designed to work together and to feel like part of your site. They start from your theme’s colors, font sizes and styles, so every page has a consistent foundation you can make your own.
Everything you need to bring your pages to life
- Flexible layouts. Drag column edges to resize them, choose how columns stack on tablet and mobile, and add backgrounds, looping video and shape dividers.
- Organized content. Make long pages easier to explore with accessible accordions and tabs across the top or down the side.
- Distinctive buttons, lists and text. Pick fill, outline, text link or underline buttons, and add icons drawn for Codexa Blocks, in outline and solid, to buttons, lists and text.
- Animated statistics. Highlight milestones, results and achievements with numbers that count up as they scroll into view.
- Beautiful galleries. Show images in a grid, masonry or carousel layout, with captions, links and a lightbox.
- Dynamic post grids. Show your latest posts or pages as cards, filtered by category or tag.
Blocks
- Row and Column. Pick a layout, then drag the column edges to any width (hold Shift to snap to thirds, quarters and halves) or type exact percentages. Choose how many columns sit side by side on tablet and mobile, reverse their order on smaller screens, give columns equal height, and stretch the first or last column to fill a short line. Place a column’s blocks side by side on any device instead of stacked. Make a whole column clickable, with hover effects like an overlay, a background zoom, a border color and a shadow.
- Accordion. Collapsible sections for FAQs and details, with the option to keep only one open at a time. Choose a chevron or plus icon, its position, which item starts open, and the heading level of each title.
- Tabs. Tabs across the top or down the side. On a narrow screen the tabs wrap onto more lines, side tabs move to the top, and links can open a specific tab.
- Buttons. Link to a post, page, web address, email address or phone number, or jump to a section of a page. Fill, outline, text link and underline styles, a searchable icon picker, three sizes, side by side or one per line on each device, and an option to go full width on mobile.
- Icon List. Feature lists, service highlights and benefits with an icon beside each item, one per line, in columns or side by side on each device, with dividers. Each item can have its own icon, color and link, and an icon that means something (such as a cross for “not included”) can say so to screen readers.
- Advanced Text. A paragraph, heading, div or span with an optional icon on its left or right. Set its typography, text and icon colors, a solid background and border, and its padding, margin and alignment on each device, or make the whole block a link.
- Count Up. Animated numbers with a prefix, suffix, decimals and your choice of separators, plus an optional title.
- Gallery. Images from the Media Library as a grid, as masonry where each image keeps its own shape, or as a carousel with arrows, dots and swiping, with captions, links, a lightbox that opens each image over the page in a backdrop color and opacity of your choice, and columns for every screen size.
- Posts. Your latest posts or pages as cards in a grid or a carousel, each with its featured image, title, date, excerpt and a Read more link or button. Filter posts by category or tag, and sort by date, last update, title or page order.
Your design on every screen
Switch the editor to Desktop, Tablet or Mobile to set spacing, column layouts, alignment and visibility for that device alone. A device without its own setting follows the next larger one, so you only change what needs to be different.
A natural fit for your theme
Codexa Blocks offers your theme’s colors, font sizes and corner radius presets first, and headings keep your theme’s styles until you change them. Spacing uses five sizes from XS to XL on every theme, so blocks line up with each other.
- Text, link and background colors from your theme’s palette, or your own
- Background images with a focal point, and looping video backgrounds for rows and columns
- Color or gradient overlays
- Padding, margin, borders and rounded corners
- Shadows for rows, columns, gallery images and post cards, with your theme’s shadow presets first
- Typography for titles, text, tabs, buttons, list items, counters and captions
- Hide a block on desktop, tablet or mobile, or just one of its columns, buttons, accordion items or list items
Site-wide colors
Set the five colors every block starts with under Codexa Blocks > Colors, with a live preview on your theme’s background, or fill them from your theme in one click. Hover and open colors follow from them, and the page warns you when two colors that appear together are hard to read. Colors from your theme’s palette follow the theme when it changes. A block’s own color settings still take their place for that block. The lightbox’s backdrop color and opacity are set here too, and a gallery can have its own.
Built with accessibility in mind
- Accordions use the browser’s own disclosure element, so they work with the keyboard and screen readers. In browsers that support it, find-in-page opens a closed item or tab that holds a match.
- Tabs follow the WAI-ARIA tabs pattern, with arrow keys, Home and End.
- Background videos have a pause button and don’t play for visitors who prefer reduced motion. Counters skip the animation for those visitors and give screen readers the final number.
- Buttons that open a new tab say so to screen reader users.
- Clickable columns keep the links and buttons inside them working, and have a name for screen readers and a visible keyboard focus ring.
- A row set to a section can be given a name, so screen reader users can jump to it.
Fast and private
- Front-end scripts load only on pages with a block that needs them. Background videos download only when they scroll into view, and never on phones.
- No external requests and no tracking. The only setting stored is your site’s default colors, which are removed when you delete the plugin.
Codexa Blocks Pro
Codexa Blocks Pro adds category filters and Load more for galleries, filters for post grids, your own SVG icons, any post type in the Posts block with Load more and infinite scroll, custom shadows, and more shape dividers with a gentle drift. Every block above is free and stays free.
Documentation | Support forum | Source code on GitHub
Source Code
The JavaScript and CSS in the build folder are compiled. Their readable, uncompressed source is public at https://github.com/CodexaLogic/codexa-blocks, in its src folder. For example, build/blocks/count-up/view.js is built from src/blocks/count-up/view.js.
The blocks, editor and admin scripts are built with @wordpress/scripts (webpack), and the shared scripts and styles with Vite. To build the plugin yourself, with Node.js 24.18 or later:
git clone https://github.com/CodexaLogic/codexa-blocks.gitcd codexa-blocksnpm installnpm run build
The repository’s README covers the other scripts and the project layout.
Blocks
This plugin provides 14 blocks.
- Tabs Content in tabs: visitors click a tab to show its content. Tabs run across the top or down the side; on a narrow screen they wrap onto more lines.
- Advanced Text Text as a paragraph, heading or other element, with an optional icon before or after it, its own typography, colors, spacing per device and a link.
- Posts The latest posts or pages in a grid or carousel, each with its image, title, date and excerpt, filtered by category or tag.
- Icon List A list with an icon beside each item: stacked, in columns or side by side, per device.
- Row Columns side by side, up to six per line; more columns continue on the next line. Set how they are laid out, spaced and ordered on desktop, tablet and mobile.
- Gallery Images from the Media Library as a grid, masonry or carousel, with captions, links or a lightbox, and columns for every screen.
- Accordion Collapsible sections for FAQs and details, with the option to keep only one open at a time.
- Count Up An animated number that counts up when it scrolls into view, with an optional title. For stats, milestones and results.
- Buttons One or more buttons side by side, wrapping onto the next line when they don't fit, or one per line, per device.
- Icon List Item One item of an Icon List: its text, and its own icon or link when it needs one.
- Column One column of a Row. Holds any blocks, with its own spacing and alignment per device, an optional link and hover effects.
- Tab One tab of a Tabs block: its label, and the content that shows when it is selected.
- Accordion Item One section of an Accordion: a title, and content that shows when the title is opened.
- Button A button that links to a post, page or any address: a URL, an email address or a phone number.
Installation
- In your dashboard, go to Plugins > Add New Plugin and search for “Codexa Blocks”.
- Click Install Now, then Activate.
- Optionally, go to Codexa Blocks > Colors to set the colors every block starts with.
- In the block editor, open the inserter and find the blocks under Codexa Blocks.
FAQ
-
Does it work with my theme?
-
Yes. It works with block themes and classic themes that use the block editor. Colors, font sizes and corner radius offer your theme’s presets first, and headings keep your theme’s styles until you change them.
-
How do I set something differently on mobile?
-
Switch the editor’s preview to Tablet or Mobile, from the device toggle at the top of the editor or the one in any Codexa Blocks setting, then change the setting. A device without its own value uses the next larger device’s.
-
Give the section an HTML anchor in its block’s Advanced tab, for example “pricing”. Then, in the button’s link settings, choose the page (or leave the link empty for a section on the same page) and enter “pricing” under Jump to a section.
-
How do I change the colors every block starts with?
-
Go to Codexa Blocks > Colors. Pick each color, or click Use my theme’s colors, then click Save colors. Use the plugin’s colors goes back to the defaults. To give one block different colors, use that block’s own color settings in the editor.
-
Are the blocks accessible?
-
Yes. Accordions use the browser’s own disclosure element, tabs follow the WAI-ARIA tabs pattern, counters and background videos respect reduced motion, and clickable columns and links have names for screen readers. Alt text for images, heading order and color contrast are still up to you, and the Colors page warns about hard-to-read color pairs.
-
What happens to my content if I deactivate the plugin?
-
Your content stays in your posts. While the plugin is off, the text and images inside rows, tabs and accordions still show, without their layout, and buttons, counters and Advanced Text blocks don’t show. Reactivate the plugin and everything comes back as it was.
-
Does the Posts block show drafts or private posts?
-
No. It only shows published posts that every visitor can read. Password-protected posts show their title but not their excerpt.
-
Can visitors load more posts from the Posts block?
-
The block shows the number of posts you choose, each linking to the full post. Codexa Blocks Pro adds a Load more button and infinite scroll, and lets the block show any public post type, such as portfolios or events.
-
Is it translation ready?
-
Yes. Every label can be translated at translate.wordpress.org.
-
Where can I get help or report a bug?
-
Ask in the support forum. Include the system check from Codexa Blocks > Overview, the steps that cause the problem, and your theme. Guides for each block are in the documentation.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Codexa Blocks” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Codexa Blocks” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- New: First release, with the Row, Column, Accordion, Tabs, Buttons, Icon List, Advanced Text, Count Up, Gallery and Posts blocks, and a Colors page for the site’s default block colors.