Server IP : 104.21.14.103 / Your IP : 3.145.44.192 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/cwd/wp-content/themes/flatsome/ |
Upload File : |
<?php /* Template name: Page - Vertical Sub-Nav */ 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() || '0' != 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(); ?>