Repository navigation
v0.0.8 - Comments widget and responsive size controls
Adds the Comments widget and the [wgcr_comments] shortcode, makes every size control in the Style tab of all three widgets responsive with Normal and Hover tabs, and removes the theme's duplicate comment list and form when the widget is used.
- New Comments widget (
wgcr-comments): the approved comments of the current post with replies, optional pagination and avatars, plus a configurable comment form — choose the fields, labels, required state and notes, with a full Style tab. - New
[wgcr_comments]shortcode for the same list and form outside Elementor; it accepts every widget control as an attribute and falls back to the default for invalid values. - Comments are sent to WordPress' own comment handler, so moderation, spam checks, flood protection and the login requirement from Settings → Discussion keep working; the widget can make name and email optional, and can only make login stricter, never looser.
- The widget stores nothing of its own (no option, table or cookie) and loads no script; its stylesheet is enqueued only on pages that print it. Avatars come from Gravatar through WordPress and can be hidden.
- When the widget or shortcode prints for a post, the theme's own comment list and form are no longer printed next to it (classic themes and block themes), so each post shows a single list and a single form.
- Comments Style tab: new avatar width, avatar distance from the comment card, per-corner avatar radius, and author-name and date distance from the avatar controls.
- Comments Style and Content: a reply now lives inside its parent comment's card, and "Reply indent and spacing" is a four-side margin relative to that card (top spacing plus indent, per device). The logged-in user text ("Logged in as …") has its own Messages controls — text with a
{name}placeholder, optional profile and log-out links — and its own Style section. The avatar radius, distance and position now apply even when the theme styles#comments .comment .avatar. - All widgets (FAQ, Live Search, Comments): every size control in the Style tab — widths, heights, padding, margins, gaps, radius, icon and avatar sizes — is now responsive (desktop, tablet, mobile) and has Normal and Hover tabs.
- Live Search: the shortcode and the widget now read their defaults from a single place, so they can no longer drift apart.