Minn\Blocks\Dynamic
Dynamic core blocks that render from data. 8 classes, 9 public methods and 4 internals. This page is the public surface; each class name opens the whole class.
Archives final readonly class
public/minn/src/Minn/Blocks/Dynamic/Archives.php · 29 lines · Open the class →
core/archives: the months that have published posts, newest first, with their counts when asked (showPostCounts).
Dates final class
public/minn/src/Minn/Blocks/Dynamic/Dates.php · 15 lines · Open the class →
Site-local dates the way the dynamic blocks print them.
| static | iso(Minn\Content\Site $site, string $local): string | ISO 8601 with the site's offset at that date (summer or winter time), from a site-local MySQL datetime. |
| static | format(Minn\Content\Site $site, string $local, string $format = ''): string | A site-local MySQL datetime in the format given, else the date_format option, in the site's language. |
LatestComments final readonly class
public/minn/src/Minn/Blocks/Dynamic/LatestComments.php · 71 lines · Open the class →
core/latest-comments: the newest approved comments with avatar, meta, and a 20-word excerpt.
LatestPosts final readonly class
public/minn/src/Minn/Blocks/Dynamic/LatestPosts.php · 34 lines · Open the class →
core/latest-posts: the newest published posts as a list, optionally dated.
Search final readonly class
public/minn/src/Minn/Blocks/Dynamic/Search.php · 48 lines · Open the class →
core/search: the site search form. The button sits outside or inside the field and shows text or the search icon; the block's colour and font presets land on the button (font family on the input too). The input id comes from the shared request counter.
SyncedPattern final readonly class
public/minn/src/Minn/Blocks/Dynamic/SyncedPattern.php · 26 lines · Open the class →
core/block: a synced pattern, rendered from the wp_block post it references.
| new | __construct(Minn\Db $db) | |
| method | render(Minn\Blocks\Block $block, Minn\Blocks\Renderer $renderer): string | The block's HTML. |
TagCloud final readonly class
public/minn/src/Minn/Blocks/Dynamic/TagCloud.php · 36 lines · Open the class →
core/tag-cloud: non-empty tags by name, sized from 8pt to 22pt in proportion to their counts (every tag at 8pt when the counts are equal).
| new | __construct(Minn\Db $db, Minn\Front\Permalinks $permalinks) | |
| method | render(Minn\Blocks\Block $block): string | The block's HTML. |
Nothing matches.
SocialLinks final class
public/minn/src/Minn/Blocks/Dynamic/SocialLinks.php· 79 lines · Open the class →core/social-links and core/social-link. The list keeps its stored wrapper and gains the flex layout classes; each link renders from its parent's icon colours and the service's icon. The icons are the reference's rendered output captured as data (src/data/social-icons.json, the upstream set is CC0); an unknown service gets the share icon.
__construct(string $iconsFile)register(Minn\Blocks\Renderer $renderer): voidRegisters the block and its links with the renderer.
list(),link(),icons()