All Docs Articles

Dynamic Aria Labels

Buttons often share the same short text, for example “Read more” or “Learn more”. Sighted visitors understand from the layout which post or product a button belongs to. Screen reader users often jump from link to link or open a list of all links on the page. In that list, ten buttons called “Read more” […]

read more

Query Block: How can I make sure Events are working after using filters?

When using live query functionality with the Query Block, content is dynamically updated without requiring a full page refresh. This means that any custom JavaScript events or third-party libraries that were initially bound to the DOM elements may lose their functionality after the content updates. To address this challenge, the Greyd system provides a custom […]

read more

Form

The Form block lets you place a form you’ve already created under Forms onto any page or post. You don’t build the form here — you simply choose which one to display, and the block always shows the current version of that form. If you later edit the form under Forms, every page using it […]

read more

Frontend Post Forms

Form submissions in Greyd Forms can be mapped to WordPress posts, either creating a new post or updating an existing one. This is configured through a dedicated Post Interface available for every form, covering permissions, post type selection, field mapping, and the logic that determines whether a submission results in a new post or an […]

read more

Dynamic Forms

Dynamic Forms extend the standard way of embedding forms created with Greyd Forms into website content. While the regular Form block simply displays a selected form, Dynamic Forms combine form embedding with the dynamic capabilities known from the Dynamic Templates feature. This allows specific parts of a form to change depending on the context in […]

read more

Turnstile

The Turnstile block in Greyd Forms integrates a Cloudflare Turnstile check into the frontend of your form to help prevent spam submissions. Before using the block, the Cloudflare Turnstile site key and secret key must be added under Forms → Settings. If no site key is defined, a warning message will appear in the editor […]

read more

Aria Attributes

The Aria Attributes feature allows you to enhance accessibility by adding specific aria attributes to any block in the editor. This applies not only to Greyd Blocks, but also WordPress Core blocks and any third-party blocks. Before using it, the feature must be activated on the Features page. Once enabled, each block will display a […]

read more

Global Content: GC_Post

GC_Post is the abstraction the Global Content plugin uses while processing posts. It wraps a WordPress post and normalizes both native WP_Post fields and Global Content–specific attributes used during synchronization and distribution. You construct it with a WP_Post, an object, or a post ID. The constructor validates input, prevents operating on trashed or missing posts, […]

read more

Global Content: GC_Helper

The GC_Helper class acts as the nerve centre of the Greyd Global Content plugin. It groups a wide range of static utilities that support distribution, synchronisation and retrieval of posts across a multisite network and remote connections. Unlike most classes in the system, GC_Helper maintains no state; you call its methods directly without creating an […]

read more

Global Content constants

The Greyd Global Content plugin supports constants that allow you to change its behavior without editing the plugin code. These constants can be defined in wp-config.php or a theme’s functions.php file and must be set before the plugin loads. They are used to control SEO-related URL handling and optimize performance during content distribution. USE_CANONICAL_URL_AS_PERMALINK This […]

read more