%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pn/wp-content/themes/intosai/
Upload File :
Create Path :
Current File : //var/www/pn/wp-content/themes/intosai/single.php

<?php
    /* STATIC PARALLAX BANNER */
    include('templates/sections/news_single_banner.php');

    /*POST PAGINATION*/
    include('templates/sections/paginate_single.php');

    /* PAGE CONTENT */
    while (have_posts()) : the_post();

        if(get_the_content() != ''){
            echo '<div class="page-content single-page">';
                echo '<div class="wrapper">';
                    the_content();
                echo '</div>';
            echo '</div>';
        }
        ?>
        <?php
    endwhile;

    if (have_rows('new_success_stories')) :
        include('templates/sections/new_success_stories.php'); 
    endif;

    /* PAGE SECTIONS */
    if(have_rows('content_sections')):
    while (have_rows('content_sections')) : the_row();

         if(get_row_layout() == 'newsletter'):

             include('templates/sections/newsletter.php');

         elseif(get_row_layout() == 'text'):

             include('templates/sections/text.php');

         elseif(get_row_layout() == 'colorbox'):

             include('templates/sections/colorbox.php');

        // elseif(get_row_layout() == 'new_success_stories'):

        // 	include('templates/sections/new_success_stories.php');

         elseif(get_row_layout() == 'downloads'):

             include('templates/sections/downloads.php');

         endif;

    endwhile;
    endif;

    /* SOCIAL SHARINBG */
    include('templates/sections/social_sharing.php');
?>

Zerion Mini Shell 1.0