Section Featured Briefings
**Site relevance:** 2IA.org
**Memory type:** theme source memory
**Source path:** 2IA.org/wp-content/themes/twoia-intelligence/template-parts/section-featured-briefings.php
**Size:** 3.6 KB
Summary
Featured briefings section.
Source Preview
This source file is short enough to preview directly on its source-memory page.
<?php
/**
* Featured briefings section.
*
* @package TwoIA
*/
$briefings = new WP_Query(
array(
'post_type' => function_exists( 'twoia_article_post_types' ) ? twoia_article_post_types() : array( 'post' ),
'posts_per_page' => 3,
'ignore_sticky_posts' => true,
'no_found_rows' => true,
)
);
$briefing_posts = array();
if ( $briefings->have_posts() ) {
foreach ( $briefings->posts as $briefing_post ) {
if ( function_exists( 'twoia_is_default_placeholder_post' ) && twoia_is_default_placeholder_post( $briefing_post ) ) {
continue;
}
$briefing_posts[] = $briefing_post;
}
}
?>
<section class="section featured-briefings" aria-labelledby="featured-briefings-title">
<header class="section-header section-header--row">
<div>
<p class="eyebrow"><?php esc_html_e( 'Latest research', 'two-identities-anonymous' ); ?></p>
<h2 id="featured-briefings-title"><?php esc_html_e( 'Latest research files', 'two-identities-anonymous' ); ?></h2>
</div>
<a class="button button--ghost" href="<?php echo esc_url( home_url( '/research/' ) ); ?>"><?php esc_html_e( 'View research', 'two-identities-anonymous' ); ?></a>
</header>
<?php if ( $briefing_posts ) : ?>
<div class="grid grid--cards">
<?php
foreach ( $briefing_posts as $post ) :
setup_postdata( $post );
get_template_part( 'template-parts/content', 'card' );
endforeach;
wp_reset_postdata();
?>
</div>
<?php else : ?>
<div class="grid grid--cards placeholder-cards">
<a class="card briefing-card briefing-card--placeholder" href="<?php echo esc_url( home_url( '/metadata-is-identity/' ) ); ?>">
<img class="briefing-image" src="<?php echo esc_url( twoia_default_briefing_image_url() ); ?>" alt="" loading="lazy" decoding="async">
<div class="briefing-card__body">
<span class="metadata-label"><?php esc_html_e( 'Research starting point', 'two-identities-anonymous' ); ?></span>
<h3><?php esc_html_e( 'Metadata Is Identity', 'two-identities-anonymous' ); ?></h3>
<p><?php esc_html_e( 'Read how connection records, timing, location, accounts, and devices become identity signals even when content stays unread.', 'two-identities-anonymous' ); ?></p>
</div>
</a>
<a class="card briefing-card briefing-card--placeholder" href="<?php echo esc_url( home_url( '/keyword-monitoring/' ) ); ?>">
<img class="briefing-image" src="<?php echo esc_url( twoia_default_briefing_image_url() ); ?>" alt="" loading="lazy" decoding="async">
<div class="briefing-card__body">
<span class="metadata-label"><?php esc_html_e( 'Research starting point', 'two-identities-anonymous' ); ?></span>
<h3><?php esc_html_e( 'Keyword Monitoring', 'two-identities-anonymous' ); ?></h3>
<p><?php esc_html_e( 'See why context, human review, expiry, appeal, and audit matter more than static word lists and panic dashboards.', 'two-identities-anonymous' ); ?></p>
</div>
</a>
<a class="card briefing-card briefing-card--placeholder" href="<?php echo esc_url( home_url( '/ai-surveillance/' ) ); ?>">
<img class="briefing-image" src="<?php echo esc_url( twoia_default_briefing_image_url() ); ?>" alt="" loading="lazy" decoding="async">
<div class="briefing-card__body">
<span class="metadata-label"><?php esc_html_e( 'Research starting point', 'two-identities-anonymous' ); ?></span>
<h3><?php esc_html_e( 'AI Surveillance', 'two-identities-anonymous' ); ?></h3>
<p><?php esc_html_e( 'Trace algorithmic inference, sentiment scoring, validation gaps, bias, procurement records, and redress failures.', 'two-identities-anonymous' ); ?></p>
</div>
</a>
</div>
<?php endif; ?>
</section>