v3.1.6 – Conditional Content

Improved — NextCRM navigation

  • Redesigned the admin header with the NextCRM logo, responsive navigation, lime active states, and section-specific submenu rows
  • Header submenus reuse registered WordPress menu links, labels, ordering, and permissions, including links added through menu hooks
  • Added active parent and submenu highlighting across contact, campaign, SMS, automation, form, and settings routes, with browser back/forward navigation support
  • Moved SMS Campaign and SMS Settings under Campaigns and removed the separate top-level SMS tab
  • Removed Add Contact, Add Campaign, Add SMS Campaign, Add Form, and Add Automation links from header submenus; page-level Add New actions remain available
  • Moved Reports and Settings into accessible icon buttons beside Search and removed the header notification icon
  • Added a centered command search dialog with a dimmed backdrop, matching page/settings links, keyboard navigation, Enter selection, Escape dismissal, and click-outside closing

Improved — Form builder and frontend forms

  • Added field search and click-to-add controls, including keyboard activation, to insert fields into the selected column or beside the selected field’s column
  • Fixed moving fields between columns, dropping existing fields into empty columns, inserting new fields before existing fields, and ordering fields above or below a drop target
  • Field settings update the canvas as users edit without rebuilding the settings panel and interrupting typing
  • Added Form Design controls for the entire form: background color, per-side padding and margin, border style, border width, border color, and corner radius
  • Reused existing dimensions controls with px, %, em, and rem units, compact border controls, color pickers, and a Clear background action
  • Applied saved form wrapper styles consistently to the canvas, preview, and frontend; removed redundant frontend popup shell padding/background when a custom form design is configured
  • Added a responsive preview dialog with a compact Desktop, Tablet, and Mobile device dropdown, selected-device icons/checkmarks, and viewport widths of 1024, 768, and 375 pixels
  • Preview uses an isolated iframe so responsive layouts follow the selected viewport width; mobile columns stack, the preview body no longer inherits the popup backdrop, and Escape/backdrop clicks close the dialog
  • Added per-field device visibility conditions for desktop (1024px+), tablet (601–1023px), and mobile (up to 600px), applied in responsive previews and on the frontend
  • Hidden fields remain editable in the builder with visibility badges; frontend fields hidden by device rules are disabled so hidden required fields do not block submission, and re-enabled when their device becomes visible

Improved — Popup builder integration (Tracking / OmniReach addon)

  • Brought field search, click-to-add, keyboard activation, live element settings, and improved drag-and-drop ordering/cross-column movement to the popup builder
  • Added Popup Design controls for wrapper spacing, backgrounds, and borders, using the same dimensions and color controls as the form builder
  • Moved Background Type and Background Image controls from Column Settings into Popup Design; a single existing column background is carried into the wrapper design when applicable
  • Added background image selection through the WordPress Media Library, background blur, and background opacity controls
  • Added a separate background overlay with color and opacity controls; background blur, background opacity, and overlays do not blur or fade popup text and elements
  • Background controls show or hide according to the selected Color or Image background type while preserving saved values
  • Added the same responsive device preview dropdown as forms, while retaining countdown and coupon preview behavior and frontend embedded-form support
  • Added per-element desktop, tablet, and mobile visibility conditions, with builder badges and matching preview/frontend media-query rules

Improved — Column settings in forms and popups

  • Unified Column Settings with compact width and minimum-height inputs, per-side padding/margin dimensions and units, field spacing, vertical alignment, and border controls
  • Column changes apply live and are persisted through Save Form or Save Popup without requiring a separate Save Column step
  • Clearing minimum height now removes the saved height constraint; existing column elements and styles remain intact when updating individual controls
  • Deleting a column clears its selection and removes an empty row when its last column is deleted

New — Conditional campaign content in Gutenberg

  • Added a Conditional Content block that can contain paragraphs, headings, images, buttons, columns, and other supported email blocks
  • Added a styled Conditions toolbar button beside the block inserter to wrap selected content in a conditional group or open an existing group’s settings
  • Added ALL (AND) and ANY (OR) recipient matching for lists, tags, contact type/status, names, email address, rating, additional contact properties, and custom contact metadata
  • Added membership and exclusion comparisons, equality/inequality, contains/does-not-contain, empty/not-empty, and numeric greater-than/less-than comparisons where supported
  • Added recorded activity rules for opens, clicks, purchases, bounces, and unsubscribes from a selected campaign; missing activity history does not satisfy a negative activity rule, and the current delivery’s tracking row is excluded
  • Recipient conditions are evaluated independently for each outgoing message before merge-tag replacement; editor content is preserved, nested conditions are supported, and invalid rules or unknown recipients omit conditional content
  • Preserved condition markers through Gutenberg rendering, HTML sanitization, and email conversion, then removed them from the recipient-specific outgoing content
  • Added desktop, tablet, and mobile visibility switches to conditional blocks, plus an option to disable recipient rules and use device visibility alone
  • Device conditions use responsive email CSS at open time rather than guessing a recipient’s device when sending; general previews retain recipient content and apply device styling, subject to email-client media-query support
  • Restyled the conditions sidebar with compact numbered rule cards, rounded inputs, delete icons, clearer labels, and a full-width Add rule button