=== Section Blocks – The Layout Builder for Gutenberg === Contributors: nazmul111 Tags: gutenberg, blocks, hero, pricing, faq Requires at least: 6.6 Tested up to: 7.1 Requires PHP: 7.4 Stable tag: 1.2.9 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html A comprehensive WordPress Gutenberg plugin with 13 professional section blocks for building modern websites. == Description == Section Blocks is a powerful WordPress Gutenberg plugin that provides a complete collection of professional section blocks for building modern, responsive websites. Each block is carefully crafted with beautiful design, extensive customization options, and mobile-first responsive design. **Key Features:** * 13 professional section blocks * Custom "Section Blocks" category in the Gutenberg editor * Mobile-first responsive design * Extensive color, typography, and spacing customization * Hover effects and scroll-triggered animations * SEO-friendly semantic HTML markup * Accessibility-compliant ARIA labels and keyboard navigation * Works with any properly coded WordPress theme **Available Blocks:** **Hero Section** — Eye-catching hero sections with background images, customizable headings, subtitles, and call-to-action buttons. Includes overlay controls and multiple text alignment options. **Features Section** — Showcase product or service features in a 3–6 column responsive grid. Includes 16+ built-in WordPress Dashicons and optional side images. **Services Section** — Display services with stylish cards. Choose from 60+ Dashicons or upload custom images. Supports 2–4 column layouts, hover effects, and CTA buttons. **Steps Timeline** — Display multi-step processes with vertical, horizontal, and zigzag layouts. Supports 3–6 configurable steps, visual connectors, and scroll-triggered animations. **Video CTA Section** — Engaging video call-to-action sections. Supports YouTube, Vimeo, and self-hosted videos with overlay controls and conversion-focused design. **Testimonials Section** — Showcase customer testimonials with star ratings, client images, and names. Supports both carousel (with pause-on-hover) and grid layout options. **Pricing Tables** — Create professional pricing comparison tables with multiple plans, feature lists, billing period toggle, and highlighted recommended plans. **Team Members** — Showcase your team with Card, Overlay, Minimal, and Professional layout styles. Includes social media links and hover effects. **FAQ / Accordion** — Toggle-style accordion sections with smooth animations and built-in schema markup for SEO benefits. **Gallery Portfolio** — Display images in masonry or grid layouts with filterable categories and lightbox functionality. **Newsletter Signup** — Email capture forms with Mailchimp integration, WordPress native storage, privacy consent support, and honeypot spam protection. Configure under Settings > Newsletter Settings. **Call to Action** — High-converting CTA sections with solid, gradient, or image backgrounds, customizable text, and multiple button options. **Advanced Container** — A layout container for any blocks, with boxed, wide, or full width, a max-width control, and color, gradient, or image backgrounds. == Installation == 1. Upload the plugin files to `/wp-content/plugins/section-blocks`, or install directly through the WordPress plugins screen. 2. Activate the plugin through the 'Plugins' screen in WordPress. 3. In the Gutenberg editor, look for the "Section Blocks" category to find all available blocks. 4. For newsletter features, configure settings under **Settings > Newsletter Settings**. == Frequently Asked Questions == = How many blocks are included? = The plugin includes 13 professional section blocks: Hero Section, Features Section, Services Section, Steps Timeline, Video CTA Section, Testimonials, Pricing Tables, Team Members, FAQ/Accordion, Gallery Portfolio, Newsletter Signup, Call to Action, and Advanced Container. = How do I configure newsletter integrations? = Go to **Settings > Newsletter Settings** in your WordPress admin to configure your Mailchimp API key, custom API endpoint, reCAPTCHA settings, and view the subscriber list. = Are the blocks responsive? = Yes. All blocks are built mobile-first and automatically adapt to different screen sizes. = Can I customize colors and typography? = Yes. Every block has extensive customization options for colors, typography, spacing, and layout in the Gutenberg editor sidebar. = Do the blocks work with any WordPress theme? = Yes. The blocks are designed to work with any properly coded WordPress theme that supports the block editor. = Is the plugin accessible? = Yes. All blocks include proper ARIA labels, semantic HTML markup, and follow WordPress accessibility guidelines. = Does the Newsletter block store subscriber data? = When using the default WordPress storage option, email addresses are stored in your WordPress database. You can view and manage them under Settings > Newsletter Settings. An uninstall routine removes this data when the plugin is deleted. = Can I use Mailchimp for newsletters? = Yes. Enter your Mailchimp API key and list ID under Settings > Newsletter Settings, then select "Mailchimp" as the integration type in the Newsletter Signup block settings. == Screenshots == 1. A complete landing page built only with Section Blocks: hero, features, pricing, testimonials, FAQ and call to action. 2. Every section is responsive and looks polished on desktop and mobile. 3. All blocks live in their own "Section Blocks" inserter category, so adding a section takes one click. 4. Edit text right on the canvas and style each section from the block sidebar, including Responsive Visibility and Custom CSS. 5. Pricing Tables with a monthly/yearly billing toggle and a highlighted plan. 6. Testimonials and the FAQ Accordion, which adds FAQ schema for search engines. == Upgrade Notice == = 1.2.9 = Fixes Features Section columns, Pricing Tables on phones and with wide/full alignment, and Custom CSS that could be overridden by default block styles. = 1.2.8 = Security update: restricts per-block Custom CSS to administrators and editors, and fixes output escaping. Now requires WordPress 6.6 or later. == Changelog == = 1.2.9 = * Fix: Features Section now shows the chosen number of columns (3–6) on desktop and tablet. It was always a single column. * Fix: Pricing Tables and Newsletter Signup now respect wide/full alignment, anchors, additional CSS classes, Responsive Visibility and Custom CSS. * Fix: Pricing Tables now stack into a single column on phones instead of squeezing three columns. * Fix: Per-block Custom CSS now overrides the block's default styles, even when other Section Blocks appear further down the page. * Improvement: Removed the misleading "Tablet Preview" / "Mobile Preview" label from the Hero Section in the editor. * Updated screenshots. = 1.2.8 = * Security: Per-block Custom CSS can now only be added or changed by users who can post unfiltered HTML (administrators and editors). Enforced on save; CSS an administrator already added is kept when other users edit the post. * Security: Escaped output in all block templates, including a fix for unescaped attributes in the FAQ / Accordion block. * Fix: Duplicating or copy-pasting a block no longer makes the copy share the original's custom CSS. * Fix: Custom CSS is now printed as a stylesheet in the page head instead of inside the content. * Improvement: Responsive visibility and custom CSS settings are registered on the server, so they are always available in the editor. * Improvement: Groundwork for upcoming blocks (shared components, separate Elements and Interactive inserter categories). * Change: Requires WordPress 6.6 or later. = 1.2.7 = * Added: Advanced Container block — dynamic structural container with width modes (boxed/wide/full), max-width control, and background options (color, gradient, image with overlay opacity); supports inner blocks, anchor, spacing, and align controls * Added: Responsive Visibility extension — per-block Hide on Desktop/Tablet/Mobile toggles (Inspector) that inject sb-hide-desktop/tablet/mobile classes via render_block_data and editor hooks * Added: Per-block Custom CSS — scoped CSS field per block instance using sbBlockId + selector placeholder; inline