at path:
ROOT
/
wp-content
/
themes
/
whizz
/
page.php
run:
R
W
Run
assets
DIR
2025-08-14 14:58:42
R
W
Run
include
DIR
2025-08-14 14:58:42
R
W
Run
one-click-import
DIR
2025-08-14 14:58:42
R
W
Run
templates
DIR
2025-08-14 14:58:42
R
W
Run
vc_templates
DIR
2025-08-14 14:58:42
R
W
Run
vendor
DIR
2025-08-14 14:58:42
R
W
Run
woocommerce
DIR
2025-08-14 14:58:42
R
W
Run
404.php
1.1 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
archive.php
9.18 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
author.php
10.53 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
category.php
9.08 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
comments.php
2.46 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
composer.json
65 By
2025-08-14 14:58:42
R
W
Run
Delete
Rename
composer.lock
1.95 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
error_log
39.65 KB
2026-06-03 17:30:53
R
W
Run
Delete
Rename
footer.php
4.47 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
functions.php
4.38 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
header.php
13.09 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
index.php
12.99 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
page-hovers.php
16.44 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
page.php
6.16 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
page_with_sidebar.php
7.31 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
readme.txt
1.46 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
screenshot.png
82.91 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
searchform.php
363 By
2025-08-14 14:58:42
R
W
Run
Delete
Rename
single-events.php
12.41 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
single-portfolio.php
16 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
single.php
13.46 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
style.css
2.56 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
tag.php
8.81 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
taxonomy-portfolio-category.php
3.88 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
taxonomy-portfolio-client.php
5.62 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
taxonomy-whizzy-category.php
3.73 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
error_log
up
📄
page.php
Save
<?php /** * Custom Page Template * * @package whizz * @since 1.0 * */ get_header(); $page_meta = get_post_meta( $post->ID, '_custom_page_options' ); if ( cs_get_option( 'page_navigation' ) == true ) { $pages = whizz_get_pages_for_navi(); $current = array_search( $post->ID, $pages ); $prevID = ( ! empty( $pages[ $current - 1 ] ) ) ? $pages[ $current - 1 ] : $pages[ count( $pages ) - 1 ]; $nextID = ( ! empty( $pages[ $current + 1 ] ) ) ? $pages[ $current + 1 ] : ''; if ( ! empty( $prevID ) ) { $prev_post_title = get_the_title( $prevID ); $prev_title = implode( ' ', preg_split( '//u', $prev_post_title, - 1, PREG_SPLIT_NO_EMPTY ) ); $prev_title = str_replace( " ", " ", $prev_title ); ?> <a class="side-link left animsition-link" href="<?php echo esc_url( get_page_link( $prevID ) ); ?>" data-animsition-out="fade-out-right-sm"> <div class="side-arrow"></div> <div class="side-title"><?php echo esc_html( $prev_title ); ?></div> </a> <?php } if ( ! empty( $nextID ) ) { $next_post_title = get_the_title( $nextID ); $next_title = implode( ' ', preg_split( '//u', $next_post_title, - 1, PREG_SPLIT_NO_EMPTY ) ); $next_title = str_replace( " ", " ", $next_title ); ?> <a class="side-link right animsition-link" href="<?php echo esc_url( get_page_link( $nextID ) ); ?>" data-animsition-out="fade-out-left-sm"> <div class="side-arrow"></div> <div class="side-title"><?php echo esc_html( $next_title ); ?></div> </a> <?php } } $protected = ''; if ( post_password_required() ) { $protected = 'protected-page'; } while ( have_posts() ) : the_post(); $content = get_the_content(); if ( ! strpos( $content, 'vc_' ) ) { ?> <div class="single-post no_vc_composer"> <?php if(!function_exists( 'cs_framework_init' )){ ?> <div class="post-little-banner"> <h3 class="page-title-blog"><?php the_title(); ?></h3> </div> <div class="post-paper padding-both"> <?php } ?> <?php $equal = function_exists('is_woocommerce') && !is_woocommerce() && !is_cart() && !is_checkout() ? 'equal-height' : ''; ?> <div class="container <?php echo esc_attr( $equal ); ?> no-padd <?php echo esc_attr( $protected ); ?>"> <div class="row"> <div class="col-xs-12"> <?php if ( function_exists('is_checkout') && get_the_title() && (!function_exists('is_cart') || !is_cart() && !is_checkout() ) ) { ?> <?php if ( post_password_required() ) { the_title( '<h3 class="title protected-title">', '</h3>' ); } else { if(function_exists( 'cs_framework_init' )){ the_title( '<h3 class="title no-vc">', '</h3>' ); } } } the_content(); wp_link_pages( 'link_before=<span class="pages">&link_after=</span>&before=<div class="post-nav"> <span>' . esc_html__( "Page:", 'whizz' ) . ' </span> &after=</div>' ); ?> </div> </div> <div class="row"> <div class="col-12"> <?php if ( comments_open() ) { ?> <div class="comments"> <?php comments_template( '', true ); ?> </div> <?php } ?> </div> </div> </div> <?php if(!function_exists( 'cs_framework_init' )){ ?> </div> <?php } ?> </div> <?php } else { ?> <?php if( is_page() || is_home()) { $post_id = get_queried_object_id(); } else { $post_id = get_the_ID(); } $meta_data = get_post_meta( $post_id, '_custom_page_options', true ); $menu_main_style = cs_get_option( 'menu_style' ); if(isset($meta_data['change_menu']) && $meta_data['change_menu'] && isset($meta_data['menu_style'])){ $menu_main_style = $meta_data['menu_style']; } $class_container = $menu_main_style == 'static_aside' ? '-fluid' : ''; $class_container .= !empty($page_meta[0]['disable_container_padding']) ? ' no-padd' : ''; ?> <div class="container<?php echo esc_attr( $class_container ); ?>"> <div class="hero"> <?php the_content(); ?> </div> </div> <?php $username = cs_get_option('insta_username'); $count = cs_get_option('insta_count') ? cs_get_option('insta_count') : '21'; if(!empty($username) && cs_get_option('instagram_pages')){ ?> <div class="container-fluid no-padd"> <div class="row"> <?php if ( ! empty( $username ) && ! empty( $count ) ) { $token_switch = cs_get_option('insta_token_switcher'); $instagram_images = whizz_get_imstagram( $username, $count ); ?> <div class="insta-box margin-lg-35t margin-xs-15t col-xs-12"> <?php if ( ! empty( $username ) ) { ?> <div class="insta-box-follow"><a href="https://instagram.com/<?php echo esc_attr($username); ?>" class="insta-acc">@<?php echo esc_html( $username ); ?></a></div> <?php } ?> <div class="insta-img-wrap gridrotate"> <ul> <?php if ( ! empty( $instagram_images ) ) { foreach ( $instagram_images as $image ) { $image_url = ( $token_switch && isset( $image['image-url'] ) ) ? $image['image-url'] : $image['large']; ?> <li> <span> <img src="<?php echo esc_url($image_url); ?>" alt="<?php esc_attr__( 'Instagram Image', 'whizz' ) ?>" > </span> </li> <?php } } ?> </ul> </div> </div> <?php } ?> </div> </div> <?php } ?> <?php } endwhile; get_footer();