HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/dragonexpert.com/wp-content/themes/coni/template-parts/section-quote.php
<?php
$coni_enable_section = get_theme_mod( 'coni_quote_enable', true );
if ( $coni_enable_section || is_customize_preview() ) :
?>
<div id="quote-section" class="quote-section" <?php if( false == $coni_enable_section ): echo 'style="display: none;"'; endif ?>>
    <div class="quote-wrap wow fadeInLeft" data-wow-delay="600ms">
        <blockquote cite="<?php echo esc_attr( get_theme_mod( 'coni_quote_cite', 'John Smith' ) ); ?>">
        <?php echo esc_html( get_theme_mod( 'coni_quote', '"We are an agency passionate about what we do, providing a great service to small businesses. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus."' ) ); ?>
        </blockquote>
        <?php
        $wp_kses_args = array(
		    'a' => array(
		        'href' => array(),
		        'title' => array()
		    ),
		    'br' => array(),
		    'em' => array(),
		    'strong' => array(),
		    'span' => array(),
		);
		$quote_cite = wp_kses( get_theme_mod( 'coni_quote_cite', __( 'John Smith <span>CEO, Coni Inc.</span>', 'coni' ) ), $wp_kses_args );
        ?>
        <p class="quote-cite"><?php echo $quote_cite; ?></p>
        
    </div>
    <div class="laptop-wrap wow fadeIn" data-wow-delay="500ms">
    	<?php
    	$screen_image = get_template_directory_uri() . '/images/screen.jpg';
        $coni_quote_image = get_theme_mod( 'coni_quote_image' );
		if ( !empty( $coni_quote_image ) ) {
			$screen_image = wp_get_attachment_image_src( absint( $coni_quote_image ), 'full' );
			$screen_image = $screen_image[0];
		}
    	?>
        <img class="quote-screen" src="<?php echo esc_url( $screen_image ); ?>" alt="">
        <img class="quote-laptop" src="<?php echo get_template_directory_uri(); ?>/images/laptop.png" alt="">
    </div>
    <?php
    $bck_color = get_theme_mod( 'coni_quote_bck_color', '#50e3c2' );
    ?>
    <div class="quote-background hidden-xs wow fadeInRight" style="background-color: <?php echo esc_attr( $bck_color ); ?>;"></div>
    
</div><!-- quote-section -->
<?php endif ?>