| Server IP : 87.98.154.146 / Your IP : 216.73.216.165 Web Server : Apache System : Linux webm004.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : ohklomafyi ( 52085) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/ohklomafyi/www/wp-content/themes/oceanwp/partials/single/headers/ |
Upload File : |
<?php
/**
* OceanWP Single Post Header template
*
* @package OceanWP WordPress theme
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
// Only display for standard posts.
if ( 'post' !== get_post_type() ) {
return;
}
// Display meta filter.
$display_sph_meta = true;
$display_sph_meta = apply_filters( 'display_single_ocean_header_2_meta', $display_sph_meta );
// Display breadcrumbs filter.
$display_breadcrumbs = true;
$display_breadcrumbs = apply_filters( 'display_single_ocean_header_2_breadcrumbs', $display_breadcrumbs );
// Heading tag.
$heading = 'h1';
$heading = apply_filters( 'single_ocean_header_2_h_tag', $heading );
?>
<div class="ocean-single-post-header single-post-header-wrap single-header-ocean-2 sh-container">
<div class="head-row row-center">
<div class="col-xs-12 col-l-8 col-ml-9">
<?php do_action( 'ocean_before_page_header' ); ?>
<header class="blog-post-title">
<?php the_title( '<' . esc_attr( $heading ) . ' class="single-post-title">', '</' . esc_attr( $heading ) . '>' ); ?>
<?php if ( true === $display_sph_meta ) { ?>
<div class="blog-post-meta">
<?php do_action( 'ocean_single_post_header_meta' ); ?>
</div><!-- .blog-post-meta -->
<?php } ?>
<?php if ( true === $display_breadcrumbs ) { ?>
<?php if ( function_exists( 'oceanwp_breadcrumb_trail' ) ) { ?>
<div class="blog-post-breadcrumbs">
<?php oceanwp_breadcrumb_trail(); ?>
</div>
<?php } ?>
<?php } ?>
</header><!-- .blog-post-title -->
<?php do_action( 'ocean_after_page_header' ); ?>
</div>
</div>
</div>
<?php oceanwp_paint_post_thumbnail( 'full', array( 'name' => 'ocean-sh-2' ) ); ?>