@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/portfolio/lh-governance-documents/>
  a sioc:Post ;
  dc:title "Blocks and template" ;
  dcterms:identifier 148025 ;
  dc:modified "2026-09-21T16:11:47Z"^^xsd:dateTime ;
  dc:created "2026-09-21T16:11:47Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-governance-documents/blocks-and-template/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded """<ul class="lh_portfolio-meta"><li><strong>Part of:</strong> <a href="https://lhero.org/portfolio/lh-governance-documents/">LH Governance Documents</a></li></ul>
<h2 class="wp-block-heading">Governance documents index</h2>



<p class="wp-block-paragraph">Block <code>lh-governance-documents/index</code>. Lists the site&#8217;s governance documents under a heading for each type (constitution, policies, procedures, codes of conduct, terms of reference, then any others), ordered by page order and then title. Each document only appears to visitors who can read it, so restricted, confidential and private documents stay hidden from those without access. Add it to whatever page the organisation uses for its governance listing.</p>



<h2 class="wp-block-heading">Governance document details</h2>



<p class="wp-block-paragraph">Block <code>lh-governance-documents/document-meta</code>. Shows the document&#8217;s type, who approves it, when it was adopted and amended, its registration date, how often it is reviewed and when its next review is due, leaving out anything not set. It reads the document from block context, so a theme can place it in any template for this post type.</p>



<h2 class="wp-block-heading">Single document template</h2>



<p class="wp-block-paragraph">The plugin registers a block template for single governance documents: the theme&#8217;s header, then the title, the details block and the document content, then the footer. The dates therefore never need writing into the document text, and every document shows them however it was created. A theme can replace it with its own <code>single-lh_governance_doc</code> template, or it can be edited in the Site Editor.</p>



<p class="wp-block-paragraph">The template needs a block theme or a hybrid theme with block template support, since classic themes never load plugin block templates. It uses the theme&#8217;s <code>header</code> and <code>footer</code> template parts. On a classic theme documents display as before, without the details, unless the theme adds the details block itself. Requires WordPress 6.7.</p>
"""^^rdf:XMLLiteral ;
  sioc:content """Part of: LH Governance Documents
Governance documents index



Block lh-governance-documents/index. Lists the site&#8217;s governance documents under a heading for each type (constitution, policies, procedures, codes of conduct, terms of reference, then any others), ordered by page order and then title. Each document only appears to visitors who can read it, so restricted, confidential and private documents stay hidden from those without access. Add it to whatever page the organisation uses for its governance listing.



Governance document details



Block lh-governance-documents/document-meta. Shows the document&#8217;s type, who approves it, when it was adopted and amended, its registration date, how often it is reviewed and when its next review is due, leaving out anything not set. It reads the document from block context, so a theme can place it in any template for this post type.



Single document template



The plugin registers a block template for single governance documents: the theme&#8217;s header, then the title, the details block and the document content, then the footer. The dates therefore never need writing into the document text, and every document shows them however it was created. A theme can replace it with its own single-lh_governance_doc template, or it can be edited in the Site Editor.



The template needs a block theme or a hybrid theme with block template support, since classic themes never load plugin block templates. It uses the theme&#8217;s header and footer template parts. On a classic theme documents display as before, without the details, unless the theme adds the details block itself. Requires WordPress 6.7.
""" ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
