HEX
Server: Apache/2.4.25
System: Linux ion14 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
User: (10087)
PHP: 7.4.30
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,system, exec, shell_exec, passthru, popen, proc_open
Upload Files
File: /home/www/web115/wordpress/wp-content/themes/nt-landium/post-format/content-quote.php
<?php
/**
* The template for displaying posts in the Quote post format.
*
* @package WordPress
* @subpackage nt_landium_
* @since nt_landium_ 1.0
*/


$nt_landium_quote_text = rwmb_meta( 'nt_landium_quote_text' );
$nt_landium_quote_author = rwmb_meta( 'nt_landium_quote_author' );
$nt_landium_image_id = get_post_thumbnail_id();
$nt_landium_image_url = wp_get_attachment_image_src($nt_landium_image_id, true);
$nt_landium_color = rwmb_meta( 'nt_landium_quote_bg' );
$nt_landium_opacity = rwmb_meta( 'nt_landium_quote_bg_opacity' );
$nt_landium_opacity = $nt_landium_opacity / 100;

?>

<!-- Start .hentry -->
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <div class="hentry-box">

        <?php if ( $nt_landium_quote_text !='' ) : ?>
            <div class="post-thumb">
                <div class="content-quote-format-wrapper">
                    <?php if(has_post_thumbnail()) : ?>
                        <div class="entry-media" style="background-image: url(<?php echo esc_url( $nt_landium_image_url[0] ); ?>); ">
                        <?php else : ?>
                        <div class="entry-media">
                        <?php endif; ?>
                        <div class="content-quote-format-overlay" style="background-color: <?php echo esc_attr( $nt_landium_color ); ?>; opacity: <?php echo esc_attr( $nt_landium_opacity ); ?>;"></div>
                        <div class="content-quote-format-textwrap">
                            <h3><a href="<?php esc_url( the_permalink() ); ?>"><?php echo esc_attr( $nt_landium_quote_text ); ?></a></h3>
                            <p><a href="#0" target="_blank" style="color: #ffffff;"><?php echo esc_attr( $nt_landium_quote_author ); ?></a></p>
                        </div>
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
        <?php endif; ?>

        <?php nt_landium_all_post_content(); ?>

    </div>
</article>