403Webshell
Server IP : 35.154.56.2  /  Your IP : 216.73.217.116
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-0-189 6.8.0-1029-aws #31-Ubuntu SMP Wed Apr 23 18:20:04 UTC 2025 aarch64
User : ubuntu ( 1000)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /srv/prima-automation.com/html/wp-content/themes/bapl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /srv/prima-automation.com/html/wp-content/themes/bapl/singular.php
<?php
/**
 * The template for displaying single posts and pages.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WordPress
 * @subpackage BAPL
 * @since 1.0.0
 */

get_header('inner');
    while ( have_posts() ) : the_post();  
        $imgSRC = get_the_post_thumbnail_url(get_the_ID(), 'full');
        
        $pageId = get_post_meta(get_the_ID(), 'page_id', true);
        ?>
        <div class="header-wrapper">
            <div class="header-bg" style="background-image: url('<?php echo $imgSRC; ?>');"></div> 
            <div class="overlay"></div>
            <div class="container">
                <div class="row">
                    <div class="col-xs-12 col-lg-12 col-md-12">
                        <h1 class="page-title"><?php echo get_the_title(); ?></h1>
                    </div>
                </div>
            </div>
        </div>

        <?php if(function_exists('bcn_display')) { ?>
            <div class="breadcrumbs-wrapper">
                <div class="container">
                    <ol class="breadcrumb">
                    <?php bcn_display(); ?>
                    </ol>
                </div>
            </div>
        <?php } ?>

        <div class="entry-content">
            <div class="container" id="<?php echo $pageId; ?>">
                <?php the_content(); ?>
            </div>
        </div>
    <?php
    endwhile;
get_footer(); 
?>

Youez - 2016 - github.com/yon3zu
LinuXploit