Content Page
**Site relevance:** 2IA.org
**Memory type:** theme source memory
**Source path:** 2IA.org/wp-content/themes/twoia-intelligence/template-parts/content-page.php
**Size:** 1 KB
Summary
if ( function exists( 'twoia render current page source supplement' ) )
Source Preview
This source file is short enough to preview directly on its source-memory page.
<?php
/**
* Page content template.
*
* @package TwoIA
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'page-content briefing-panel briefing-panel--article' ); ?>>
<header class="page-header">
<p class="eyebrow"><?php esc_html_e( 'Public research page', 'two-identities-anonymous' ); ?></p>
<h1><?php echo esc_html( get_the_title() ); ?></h1>
</header>
<div class="entry-content">
<?php
the_content();
wp_link_pages(
array(
'before' => '<nav class="page-links" aria-label="' . esc_attr__( 'Page sections', 'two-identities-anonymous' ) . '">',
'after' => '</nav>',
)
);
if ( function_exists( 'twoia_render_current_page_source_supplement' ) ) {
twoia_render_current_page_source_supplement();
}
?>
</div>
<?php if ( get_edit_post_link() ) : ?>
<footer class="entry-footer">
<a class="edit-link" href="<?php echo esc_url( get_edit_post_link() ); ?>"><?php esc_html_e( 'Edit page', 'two-identities-anonymous' ); ?></a>
</footer>
<?php endif; ?>
</article>