HEX
Server: Apache/2.4.65 (Debian)
System: Linux web6 5.10.0-36-amd64 #1 SMP Debian 5.10.244-1 (2025-09-29) x86_64
User: innocamp (1028)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/buildfft/public_html/wp-content/plugins/custom-twitter-feeds/templates/header.php
<?php
/**
 * Smash Balloon Custom Twitter Feeds Header Template
 * Information about the person tweeting, replying, or quoting
 *
 * @version 2.0 Custom Twitter Feeds by Smash Balloon
 *
 */
use TwitterFeed\CTF_Parse;
use TwitterFeed\CTF_Display_Elements;
use TwitterFeed\CTF_GDPR_Integrations;
// Don't load directly
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}

$header_no_bio = ( !$feed_options['showbio'] || empty( $header_info['description'] ) ) ? $header_no_bio = ' ctf-no-bio' : $header_no_bio = "";

$header_info 			= CTF_Parse::get_user_header_json( $feed_options );
$header_attr 			= CTF_Display_Elements::get_element_attribute( 'header', $feed_options );

$username 				= CTF_Parse::get_user_name( $header_info );
$header_text 			= CTF_Parse::get_header_text( $header_info, $feed_options );
$header_description 	= CTF_Parse::get_header_description( $header_info );
$verified_account 		= ( $header_info['verified'] == 1 ) ? ctf_get_fa_el( 'fa-check-circle' ) : "";
$bio_attr 				= CTF_Display_Elements::get_element_attribute( 'headerbio', $feed_options );
$avatar 				= CTF_Parse::get_header_avatar( $header_info, $feed_options );


?>

<!-- style="' . $feed_options['headerbgcolor'] . '"-->
<div class="ctf-header <?php echo $header_no_bio ?>" <?php echo $header_attr ?>>
	<a href="<?php echo esc_url('https://twitter.com/' . $username . '/' ); ?>" target="_blank" rel="noopener noreferrer" title="@<?php echo $username  ?>" class="ctf-header-link">
		<div class="ctf-header-text">
			<!-- style="' . $feed_options['headertextcolor'] . '"-->
			<p class="ctf-header-user">
				<span class="ctf-header-name"><?php echo $header_text ?></span>
                <span class="ctf-verified"><?php echo $verified_account; ?></span>
				<span class="ctf-header-follow"><?php echo  ctf_get_fa_el( 'fa-twitter' ) . ' ' . __( 'Follow', 'custom-twitter-feeds' ); ?></span>
			</p>

           	<?php if ( $feed_options['showbio'] && ! empty( $header_description )  || ctf_doing_customizer( $feed_options )) : ?>
                <p class="ctf-header-bio" <?php echo $bio_attr ?> >
                    <?php echo $header_description; ?>
                </p>
            <?php endif; ?>
		</div>

		<div class="ctf-header-img">
			<div class="ctf-header-img-hover"><?php echo ctf_get_fa_el( 'fa-twitter' )  ?></div>
			<?php if ( CTF_GDPR_Integrations::doing_gdpr( $feed_options ) ) : ?>
				<span data-avatar="<?php echo esc_url( CTF_Parse::get_avatar( $header_info ) ) ?>" data-alt="<?php echo esc_attr( $username ); ?>" style="display: none;">Avatar</span>
			<?php else : ?>
				<img src="<?php echo esc_url( $avatar ); ?>" alt="<?php echo esc_attr( $username ); ?>" width="48" height="48">
			<?php endif; ?>
		</div>
	</a>
</div>