AnonSec Shell
Server IP : 172.67.157.199  /  Your IP : 3.136.26.99   [ Reverse IP ]
Web Server : Apache
System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64
User : root ( 0)
PHP Version : 8.0.30.2
Disable Function : NONE
Domains : 0 Domains
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/wp-content/themes/CubicWP/template-parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/wp-content/themes/CubicWP/template-parts/content-single.php
<?php
/**
* Template part for displaying single posts.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package ListMode WordPress Theme
* @copyright Copyright (C) 2024 ThemesDNA
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
* @author ThemesDNA <[email protected]>
*/
?>

<?php $listmode_hooks_instance = ListMode_Hooks::get_instance(); ?>
<?php $listmode_author_bio_instance = ListMode_Author_Bio::get_instance(); ?>

<?php $listmode_hooks_instance->before_single_post(); ?>

<article id="post-<?php the_ID(); ?>" <?php post_class('listmode-post-singular listmode-singular-box'); ?>>
<div class="listmode-singular-box-inside">

    <?php if ( !(listmode_get_option('hide_post_title')) ) { ?>
    <header class="entry-header">
    <div class="entry-header-inside">
        <?php if ( !(listmode_get_option('hide_post_categories')) && has_category() ) { ?><?php listmode_single_cats(); ?><?php } ?>

        <?php if ( listmode_get_option('remove_post_title_link') ) { ?>
            <?php the_title( '<h1 class="post-title entry-title">', '</h1>' ); ?>
        <?php } else { ?>
            <?php the_title( sprintf( '<h1 class="post-title entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
        <?php } ?>

        <?php listmode_single_postmeta(); ?>
    </div>
    </header><!-- .entry-header -->
    <?php } ?>

    <?php $listmode_hooks_instance->after_single_post_title(); ?>

    <div class="entry-content listmode-clearfix">
        <?php
        if ( has_post_thumbnail() ) {
            if ( !(listmode_get_option('hide_thumbnail_single')) ) {
                if ( listmode_get_option('thumbnail_link') == 'no' ) { ?>
                    <div class="listmode-post-thumbnail-single">
                    <?php
                    if ( is_page_template( array( 'template-full-width-post.php' ) ) ) {
                        the_post_thumbnail('listmode-1320w-autoh-image', array('class' => 'listmode-post-thumbnail-single-img', 'title' => the_title_attribute('echo=0')));
                    } else {
                        the_post_thumbnail('listmode-920w-autoh-image', array('class' => 'listmode-post-thumbnail-single-img', 'title' => the_title_attribute('echo=0')));
                    }
                    ?>
                    </div>
                <?php } else { ?>
                    <div class="listmode-post-thumbnail-single">
                    <?php if ( is_page_template( array( 'template-full-width-post.php' ) ) ) { ?>
                        <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php /* translators: %s: post title. */ echo esc_attr( sprintf( __( 'Permanent Link to %s', 'listmode' ), the_title_attribute( 'echo=0' ) ) ); ?>" class="listmode-post-thumbnail-single-link"><?php the_post_thumbnail('listmode-1320w-autoh-image', array('class' => 'listmode-post-thumbnail-single-img', 'title' => the_title_attribute('echo=0'))); ?></a>
                    <?php } else { ?>
                        <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php /* translators: %s: post title. */ echo esc_attr( sprintf( __( 'Permanent Link to %s', 'listmode' ), the_title_attribute( 'echo=0' ) ) ); ?>" class="listmode-post-thumbnail-single-link"><?php the_post_thumbnail('listmode-920w-autoh-image', array('class' => 'listmode-post-thumbnail-single-img', 'title' => the_title_attribute('echo=0'))); ?></a>
                    <?php } ?>
                    </div>
        <?php   }
            }
        }

        the_content( sprintf(
            wp_kses(
                /* translators: %s: Name of current post. Only visible to screen readers */
                __( 'Continue reading<span class="listmode-sr-only"> "%s"</span> <span class="meta-nav">&rarr;</span>', 'listmode' ),
                array(
                    'span' => array(
                        'class' => array(),
                    ),
                )
            ),
            wp_kses_post( get_the_title() )
        ) );

        wp_link_pages( array(
         'before'      => '<div class="listmode-clearfix"></div><div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'listmode' ) . '</span>',
         'after'       => '</div>',
         'link_before' => '<span>',
         'link_after'  => '</span>',
         ) );
         ?>
    </div><!-- .entry-content -->

    <?php $listmode_hooks_instance->after_single_post_content(); ?>

    <?php if ( (!(listmode_get_option('hide_post_tags')) && has_tag()) ) { ?>
    <footer class="entry-footer">
        <?php listmode_post_tags(); ?>
    </footer><!-- .entry-footer -->
    <?php } ?>

    <?php if ( !(listmode_get_option('hide_author_bio_box')) ) { echo wp_kses_post( force_balance_tags( $listmode_author_bio_instance->add_author_bio_box() ) ); } ?>

</div>
</article>

<?php $listmode_hooks_instance->after_single_post(); ?>

Anon7 - 2022
AnonSec Team