PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
<?php /** * Template name: Page - Vertical Sub-Nav * * @package Flatsome\Templates * @flatsome-version 3.16.0 */ get_header(); ?> <?php do_action( 'flatsome_before_page' ); ?> <div class="page-wrapper page-vertical-nav"> <div class="row"> <div class="large-3 col col-border"> <h3 class="uppercase"><?php echo get_the_title($post->post_parent); ?></h3> <?php if ( is_page() && $post->post_parent ) $childpages = wp_list_pages( 'sort_column=menu_order&title_li=&child_of=' . $post->post_parent . '&echo=0' ); else $childpages = wp_list_pages( 'sort_column=menu_order&title_li=&child_of=' . $post->ID . '&echo=0' ); if ( $childpages ) { $childpages = str_replace("current_page_item","active current_page_item", $childpages); $string = '<ul class="tabs-nav nav nav-uppercase nav-vertical nav-line">' . $childpages . '</ul>'; } echo $string; ?> </div> <div class="large-9 col"> <div class="tabs-inner active"> <header class="entry-header"> <h1 class="entry-title"><?php the_title(); ?></h1> </header> <div id="content" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php the_content(); ?> <?php if ( comments_open() || get_comments_number() ) { comments_template(); } ?> <?php endwhile; // end of the loop. ?> </div> </div> </div> </div> </div> <?php do_action( 'flatsome_after_page' ); ?> <?php get_footer(); ?>
[-] style.css
[edit]
[-] page-blank-landingpage.php
[edit]
[+]
template-parts
[-] page.php
[edit]
[-] page-transparent-header.php
[edit]
[-] page-blank-title-center.php
[edit]
[-] header.php
[edit]
[-] index.php
[edit]
[-] page-single-page-nav.php
[edit]
[-] page-featured-items-3col.php
[edit]
[-] page-left-sidebar.php
[edit]
[-] single.php
[edit]
[-] page-right-sidebar.php
[edit]
[-] changes.txt
[edit]
[-] page-blank.php
[edit]
[-] rtl.css
[edit]
[-] footer.php
[edit]
[-] search.php
[edit]
[-] page-featured-items-4col.php
[edit]
[-] page-transparent-header-light.php
[edit]
[+]
languages
[-] sidebar.php
[edit]
[-] single-blocks.php
[edit]
[+]
font
[-] screenshot.png
[edit]
[-] comments.php
[edit]
[-] theme.json
[edit]
[-] wpml-config.xml
[edit]
[-] page-blank-featured.php
[edit]
[+]
woocommerce
[+]
inc
[-] page-single-page-nav-transparent-light.php
[edit]
[+]
assets
[-] maintenance.php
[edit]
[-] page-checkout.php
[edit]
[-] archive-featured_item.php
[edit]
[-] single-featured_item.php
[edit]
[-] page-header-on-scroll.php
[edit]
[-] page-my-account.php
[edit]
[-] page-cart.php
[edit]
[-] image.php
[edit]
[-] searchform.php
[edit]
[-] 404.php
[edit]
[-] taxonomy-featured_item_category.php
[edit]
[+]
..
[-] functions.php
[edit]
[-] page-single-page-nav-transparent.php
[edit]
[-] favicon.png
[edit]
[-] page-blank-sub-nav-vertical.php
[edit]