| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/HostingSpaces/admin/tickwaves.co.uk/wwwroot/wp-content/themes/oceanwp/ |
Upload File : |
<?php
/**
* The template for displaying all pages, single posts and attachments
*
* This is a new template file that WordPress introduced in
* version 4.3.
*
* @package OceanWP WordPress theme
*/
get_header(); ?>
<?php do_action( 'ocean_before_content_wrap' ); ?>
<div id="content-wrap" class="container clr">
<?php do_action( 'ocean_before_primary' ); ?>
<div id="primary" class="content-area clr">
<?php do_action( 'ocean_before_content' ); ?>
<div id="content" class="site-content clr">
<?php do_action( 'ocean_before_content_inner' ); ?>
<?php
// Elementor `single` location.
if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'single' ) ) {
// Start loop.
while ( have_posts() ) :
the_post();
if ( is_singular( 'download' ) ) {
// EDD Page.
get_template_part( 'partials/edd/single' );
} elseif ( is_singular( 'page' ) ) {
// Single post.
get_template_part( 'partials/page/layout' );
} elseif ( is_singular( 'oceanwp_library' ) || is_singular( 'elementor_library' ) ) {
// Library post types.
get_template_part( 'partials/library/layout' );
} else {
// All other post types.
get_template_part( 'partials/single/layout', get_post_type() );
}
endwhile;
}
?>
<?php do_action( 'ocean_after_content_inner' ); ?>
</div><!-- #content -->
<?php do_action( 'ocean_after_content' ); ?>
</div><!-- #primary -->
<?php do_action( 'ocean_after_primary' ); ?>
</div><!-- #content-wrap -->
<?php do_action( 'ocean_after_content_wrap' ); ?>
<?php get_footer(); ?>