Skip to main content

GeneratePress Elements

19 GeneratePress Elements are defined on the site. 16 are published, 3 are drafts.

Published Elements​

Homepage Elements​

IDTitleHookContent
4090ID86 Hero Searchgenerate_after_header (priority 10)Hero section with search input, results container, and quick topic links
4091ID86 Niche Cardsgenerate_after_header (priority 20)Explore Topics 4-card grid
4414ID86 Tech Cardsgenerate_after_header (priority 25)Explore Technologies 18-card grid via [id86_tech_cards limit="18" link="1"], linking to the /technologies/ index
4092ID86 Latest Sheetsgenerate_after_header (priority 30)Latest references via [id86_latest_sheets limit="6"]
4128ID86 Subscribe Bargenerate_after_header (priority 30)[id86_subscribe], front page only

The four homepage bands stack in priority order: Hero (10) → Topic Cards (20) → Technology Cards (25) → Latest References (30). Priority 25 is the only free slot between the topic grid and the latest grid; anything placed at 10, 20 or 30 will collide with an existing band.

Their display conditions are set to general:front_page so they only render on the homepage. The hook elements are regular gp_elements posts of type Block → Hook, so they do not need _generate_hook_execute_shortcodes — shortcodes in the block content are executed by default.

Provider CTA Elements​

IDTitleNotes
4298ID86 CTA RackNerdProvider call-to-action block used by the recommendations page
4299ID86 CTA GreenCloudVPSProvider call-to-action block
4300ID86 CTA OnidelProvider call-to-action block

Single Post Elements​

IDTitleTypeContent
3663#Single Post TitleBlock (Page Hero)GenerateBlocks layout with Rank Math breadcrumbs, dynamic post title (H1), author name with verified badge, [id86_modified_date] shortcode for last-updated date + read time (updated M j, Y · N min read)
1371#Single Post ContentContent TemplateFull GenerateBlocks template with featured image, post content, tags, related posts, and comments

The single post title Element is a Page Hero block that renders via generate_after_header. The content template wraps the post content with GenerateBlocks containers.

Archive Elements​

IDTitleTypeContent
3579#Archive TitleBlock[id86_archive_header] renders the ID86 hero, contextual archive title, and optional taxonomy description
3584#Archive Post LayoutLayoutArchive, blog, search, and no-results width/sidebar settings; archive content width is 1180px
863#Archive TemplateBlock content template[id86_archive_card] renders a complete reference card with fixed anatomy and no dynamic-block placeholders

The archive system follows the ID86 reference-sheet pattern rather than the legacy GP Personale post layout:

  • #Archive Title uses the standard ID86 hero gradient and renders category, tag, search, author, blog, and other archive titles through one PHP renderer.
  • #Archive Template deliberately omits featured-image space because documentation posts do not require featured images.
  • The child theme turns archive cards into a 3-column grid above 960px, 2 columns from 601-960px, and 1 column at 600px and below.
  • Card category, content type, title, excerpt, update date, and CTA are supplied atomically by id86_archive_card, preventing raw shortcode or block-placeholder text from leaking into the front end.
  • GP Premium column layout is disabled. The child theme owns archive sizing, so adding or deleting categories does not require layout configuration.
IDTitleTypeHookContent
3040Site FooterBlock (Site Footer)generate_footerFull footer with 4-column grid, logo, contact info, blog categories, navigation, social links, copyright
4128ID86 Subscribe BarBlock (Hook)generate_before_footer (priority 10)<section class="id86-subscribe-bar"><div class="id86-shell">[id86_subscribe]</div></section>

The subscribe bar is currently also placed at the top of the Site Footer Element content for manual positioning control.

Utility​

IDTitleTypeContent
2140404 LayoutContent TemplateCustom 404 page content
3455#Fullpage LayoutContent TemplateFull-page layout wrapper

Draft Elements​

IDTitleNotes
4093ID86 Niche DirectoryHidden; was intended for a directory index
4111ID86 Stats BarHidden; shows reference counts
3713Ads Before FooterHidden; reserved for future ads

Editing Guidance​

  1. Edit Element content in WordPress rather than changing child-theme PHP for copy-only updates.
  2. Keep required class names intact: id86-hero, id86-niche-grid, id86-tech-grid, id86-tech-card, id86-sheet-grid, id86-section, id86-shell. The responsive CSS depends on them.
  3. Homepage shortcodes are split across two layers: [id86_latest_sheets] and [id86_category_sheets] live in the child theme functions.php, while [id86_tech_cards] and [id86_tech_count] live in the FluentSnippets PHP snippet 5-id86-technology-cards.php. The Tech Cards Element content is only the section wrapper — changing the technology list is a snippet edit (id86_tech_tags(), lines 39–56), not an Element edit.
  4. The Tech Cards band links out to page 4416 /technologies/, which renders the same component with limit="0". Adding a technology to the snippet array therefore adds it to both places at once.
  5. For the subscription form, place [id86_subscribe] at the desired position inside the Site Footer Element.
  6. Purge all cache layers (LiteSpeed + Cloudflare) after updating an Element because its rendered HTML is page-cached.
  7. When creating new Elements, follow the naming convention #Purpose Description for content templates and ID86 Descriptive Name for brand elements.
  8. A new homepage band needs the next free priority in the 10/20/25/30 sequence, not a duplicate — GeneratePress orders same-priority hooks by post date, which is not editable in the admin.

Element Types Explained​

  • Block: A standard WordPress block-editor Element. Can be placed via hook or as a template part.
  • Hook: Rendered via a WordPress action hook. Content supports shortcodes when _generate_hook_execute_shortcodes is enabled.
  • Content Template: Wraps around post/archive content using GenerateBlocks' dynamic data features.
  • Page Hero: Renders inside the header area via generate_after_header.
  • Site Footer: Replaces the default theme footer.