Skip to content

v0.1.2 - Nine new widgets, richer Tabs, dynamic tags and hover fixes

Latest

Choose a tag to compare

@im-JvD im-JvD released this 08 Oct 20:41
· 2 commits to main since this release

Adds nine new Elementor widgets on the shared control trait — accessible Tabs (each tab now holds visual text, a saved Elementor template or raw custom HTML), Counter, Progress Bar, Alert, Icon Box, Price Table, Social Icons, a Breadcrumb trail bridging to Yoast/Rank Math with BreadcrumbList schema, and Share buttons for Iranian networks and custom URLs — plus dynamic tags on every URL control and hover-state fixes. Widgets reach 12: version 0.1.2 absorbs the unpublished 0.1.0 and 0.1.1.

  • Tabs (wgcr-tabs): horizontal or vertical tabs with full ARIA (tablist/tab/tabpanel), roving TabIndex, Arrow/Home/End keyboard navigation, optional wrap into multiple rows, empty tabs skipped safely and a tiny dependency-free script that loads only on pages using the widget.
  • Counter (wgcr-counter): animated number with start, end, duration, prefix and suffix that runs once when scrolled into view, respects reduced-motion, shows the end number without JavaScript and never re-animates on tab switches.
  • Progress Bar (wgcr-progress): one or more percentage bars with per-bar color, progressbar ARIA, animated fill and RTL-safe origin — no JavaScript.
  • Alert (wgcr-alert): info/success/warning/danger boxes with automatic icons, role="status" or role="alert" and an accessible dismiss button; the dismissal script loads only where the widget is used.
  • Icon Box (wgcr-iconbox): icon above or beside title and description, optional title link with noopener noreferrer nofollow, hover colors and safe inline SVG output — no JavaScript.
  • Price Table (wgcr-pricetable): plan card with featured state and badge, currency symbol, period, included/excluded feature list and a call-to-action button — pure CSS.
  • Social Icons (wgcr-social): link row in an accessible nav landmark with SVG icons, optional labels, new-tab and nofollow switches — no JavaScript.
  • Every new widget is built on the shared WGCR_Size_Controls trait, so all size controls are responsive with Normal and Hover tabs like the existing widgets; CSS and JS load only on pages that use each widget.
  • Breadcrumb (wgcr-breadcrumb): automatic mode prints the Yoast SEO or Rank Math breadcrumb when either plugin is active and otherwise builds an accessible trail (home, page ancestors, primary category of single posts, archive/author/search/404 labels) with optional BreadcrumbList JSON-LD, eight separators or a custom one — no JavaScript.
  • Share (wgcr-share): server-rendered share buttons for Telegram, WhatsApp, Eitaa, X, Facebook, LinkedIn and email from the current permalink and title, a copy-link button with Clipboard API plus legacy fallback and aria-live feedback, and unlimited custom networks (Bale, Rubika, Soroush, …) defined by a share URL pattern with {url}/{title} placeholders — icon-only or labeled, three shapes, Normal/Hover color controls and one tiny script loaded only where used.
  • Tabs content types: every tab chooses between visual-editor text, a saved Elementor template printed through the new [wgcr_template] shortcode, or raw custom HTML printed unfiltered exactly like Elementor's HTML widget (scripts run; the editor previews the code live).
  • Dynamic tags: every URL control (Icon Box link, Price Table button, each Social Icons profile URL) now offers Elementor's dynamic-tags picker like Elementor's own widgets.
  • Hover fixes: the Alert close button, the Social Icons links and the Price Table button keep their hover styles when Normal-state colors are set — hover styling now runs through dedicated CSS variables with Normal/Hover control tabs, new hover controls were added (Alert close hover color; Price Table hover background/text, which also disables the default brightness effect) and the Price Table button gained a reduced-motion-friendly transition.
  • All new strings translated to Persian and English (POT regenerated); the plugin version becomes 0.1.2 with 12 registered widgets, merging the never-published 0.1.0 and 0.1.1 numbers into this single release.