Server IP : 52.91.253.208 / Your IP : 3.129.210.91 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/oceanwp/partials/ |
Upload File : |
<?php /** * The template for displaying the page header. * * @package OceanWP WordPress theme */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } // Return if page header is disabled if ( ! oceanwp_has_page_header() ) { return; } // Classes $classes = array( 'page-header' ); // Get header style $style = oceanwp_page_header_style(); // Add classes for title style if ( $style ) { $classes[$style .'-page-header'] = $style .'-page-header'; } // Visibility $visibility = get_theme_mod( 'ocean_page_header_visibility', 'all-devices' ); if ( 'all-devices' != $visibility ) { $classes[] = $visibility; } // Turn into space seperated list $classes = implode( ' ', $classes ); // Heading tag $heading = get_theme_mod( 'ocean_page_header_heading_tag', 'h1' ); $heading = $heading ? $heading : 'h1'; $heading = apply_filters( 'ocean_page_header_heading', $heading ); ?> <?php do_action( 'ocean_before_page_header' ); ?> <header class="<?php echo esc_attr( $classes ); ?>"> <?php do_action( 'ocean_before_page_header_inner' ); ?> <div class="container clr page-header-inner"> <?php // Return if page header is disabled if ( oceanwp_has_page_header_heading() ) { ?> <<?php echo esc_attr( $heading ); ?> class="page-header-title clr"<?php oceanwp_schema_markup( 'headline' ); ?>><?php echo wp_kses_post( oceanwp_title() ); ?></<?php echo esc_attr( $heading ); ?>> <?php get_template_part( 'partials/page-header-subheading' ); ?> <?php } ?> <?php if ( function_exists( 'oceanwp_breadcrumb_trail' ) ) { oceanwp_breadcrumb_trail(); } ?> </div><!-- .page-header-inner --> <?php oceanwp_page_header_overlay(); ?> <?php do_action( 'ocean_after_page_header_inner' ); ?> </header><!-- .page-header --> <?php do_action( 'ocean_after_page_header' ); ?>