C:\xampp\htdocs\landing\wp-content\updraft\themes-old\pennews_\template-parts\content-woo-page.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<div class="penci-container">
    <div class="penci-content-post ">
        <?php

        $page_hide_title         
penci_get_setting'penci_hide_page_title' );
        
$page_align_title        penci_get_setting'penci_page_align_post_title' );
        
$page_hide_breadcrumb    penci_get_setting'penci_hide_page_breadcrumb' );

        
$page_id                       get_the_ID();
        
$page_use_option_current       get_post_meta$page_id'penci_use_option_current_page'true );
        
$page_hide_title_pre           get_post_meta$page_id'penci_hide_page_title'true );
        
$page_align_title_pre          get_post_meta$page_id'penci_page_align_post_title'true );
        
$page_hide_page_breadcrumb_pre get_post_meta$page_id'penci_hide_page_breadcrumb'true );

        if ( ! empty( 
$page_use_option_current ) ) {

            
$page_hide_title         $page_hide_title_pre;
            
$page_hide_breadcrumb    $page_hide_page_breadcrumb_pre;
            
$page_align_title        $page_align_title_pre;
        }

        while ( 
have_posts() ) : the_post();

            if ( ! 
$page_hide_breadcrumb ) : penci_breadcrumbs$args '' ); endif;
            
?>
            <header class="entry-header penci-entry-header">
                <?php
                
if( ! $page_hide_title ) {
                    
the_title'<h1 class="entry-title penci-entry-title penci-title-' $page_align_title '">''</h1>' );
                }
                
penci_get_schema_markuptrue );
                
?>
            </header><!-- .entry-header -->
            <div class="penci-entry-content entry-content">
                <?php the_content( ); ?>
            </div>
            <?php

        
endwhile; // End of the loop.
        
?>
    </div>
</div>



x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586