| Server IP : 104.21.74.147 / Your IP : 216.73.217.154 Web Server : nginx/1.24.0 System : Linux wordpress-sites 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/rebeccaone.com/wp-content/themes/x/framework/views/integrity/ |
Upload File : |
<?php
// =============================================================================
// VIEWS/INTEGRITY/CONTENT-LINK.PHP
// -----------------------------------------------------------------------------
// Link post output for Integrity.
// =============================================================================
$link = get_post_meta( get_the_ID(), '_x_link_url', true );
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-featured">
<?php x_featured_image(); ?>
</div>
<div class="entry-wrap">
<header class="entry-header">
<?php if ( is_single() ) : ?>
<div class="x-hgroup">
<h1 class="entry-title"><?php the_title(); ?></h1>
<span class="entry-title-sub"><a href="<?php echo $link; ?>" title="<?php echo esc_attr( sprintf( __( 'Shared link from post: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>" <?php x_output_target_blank(); ?>><?php echo $link; ?></a></span>
</div>
<?php else : ?>
<div class="x-hgroup center-text">
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php x_the_alternate_title(); ?></a></h2>
<span class="entry-title-sub"><a href="<?php echo $link; ?>" title="<?php echo esc_attr( sprintf( __( 'Shared link from post: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>" <?php x_output_target_blank(); ?>><?php echo $link; ?></a></span>
</div>
<?php endif; ?>
<?php x_integrity_entry_meta(); ?>
</header>
<?php if ( is_single() ) : ?>
<?php x_get_view( 'global', '_content', 'the-content' ); ?>
<?php endif; ?>
</div>
<?php x_get_view( 'integrity', '_content', 'post-footer' ); ?>
</article>