File Editor
Directories:
.. (Back)
assets
customizer
framework
frontpage
languages
lib
template_parts
Files:
404.php
author.php
category.php
comments.php
footer.php
functions.php
header.php
index.php
page.php
readme.txt
search.php
sidebar.php
single.php
style.css
style_core.css
tag.php
woocommerce.php
Create New File
Create
Edit File: page.php
<?php /** * The Default Page Template for Optimizer * * Displays the Pages. * * @package Optimizer * * @since Optimizer 1.0 */ global $optimizer;?> <?php get_header(); ?> <div class="page_wrap layer_wrapper"> <!--CUSTOM PAGE HEADER STARTS--> <?php get_template_part('framework/core','pageheader'); ?> <!--CUSTOM PAGE HEADER ENDS--> <div id="content"> <div class="center"> <div class="single_wrap<?php if ( !is_active_sidebar( 'sidebar' ) ) { ?> no_sidebar<?php } ?>"> <div class="single_post"> <?php if(have_posts()): ?><?php while(have_posts()): ?><?php the_post(); ?> <div <?php post_class(); ?> id="post-<?php the_ID(); ?>"> <!--EDIT BUTTON START--> <?php if ( is_user_logged_in() || is_admin() ) { ?> <div class="edit_wrap"> <a href="<?php echo get_edit_post_link(); ?>"> <?php _e('Edit','optimizer'); ?> </a> </div> <?php } ?> <!--EDIT BUTTON END--> <!--PAGE CONTENT START--> <div class="single_post_content"> <!--THE CONTENT START--> <div class="thn_post_wrap"> <?php the_content(); ?> </div> <div style="clear:both"></div> <div class="thn_post_wrap wp_link_pages"> <?php wp_link_pages('<p class="pages"><strong>'.__('Pages:', 'optimizer').'</strong> ', '</p>', 'number'); ?> </div> <!--THE CONTENT END--> </div> <!--PAGE CONTENT END--> </div> <?php endwhile ?> </div> <!--COMMENT START: Calling the Comment Section. If you want to hide comments from your posts, remove the line below--> <?php if (!empty ($optimizer['post_comments_id'])) { ?> <div class="comments_template"> <?php comments_template('',true); ?> </div> <?php }?> <!--COMMENT END--> <?php endif ?> </div> <!--PAGE END--> <!--SIDEBAR START--> <?php get_sidebar(); ?> <!--SIDEBAR END--> </div> </div> </div><!--layer_wrapper class END--> <?php get_footer(); ?>
Save Changes
Rename File
Rename