File Editor
Directories:
.. (Back)
ai-app
cloud
common
core
css
epanel
et-pagebuilder
images
includes
js
lang
psd
Files:
404.php
changelog.txt
comments.php
footer.php
functions.php
header.php
index.php
options_divi.php
page-template-blank.php
page.php
post_thumbnails_divi.php
rtl.css
sidebar-footer.php
sidebar.php
single-et_pb_layout.php
single-project.php
single.php
style-cpt-rtl.min.css
style-cpt.min.css
style-rtl.min.css
style-static-cpt-rtl.min.css
style-static-cpt.min.css
style-static-rtl.min.css
style-static.min.css
style.css
style.min.css
theme-after-footer.php
theme-after-header.php
theme-after-wrappers.php
theme-before-wrappers.php
theme-footer.php
theme-header.php
Create New File
Create
Edit File: page-template-blank.php
<?php /* Template Name: Blank Page */ get_header(); $post_id = get_the_ID(); $is_page_builder_used = et_pb_is_pagebuilder_used( $post_id ); $container_tag = 'product' === get_post_type( $post_id ) ? 'div' : 'article'; ?> <div id="main-content"> <?php if ( ! $is_page_builder_used ) : ?> <div class="container"> <div id="content-area" class="clearfix"> <div id="left-area"> <?php endif; ?> <?php while ( have_posts() ) : the_post(); ?> <<?php echo $container_tag; ?> id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( ! $is_page_builder_used ) : ?> <h1 class="main_title"><?php the_title(); ?></h1> <?php $thumb = ''; $width = (int) apply_filters( 'et_pb_index_blog_image_width', 1080 ); $height = (int) apply_filters( 'et_pb_index_blog_image_height', 675 ); $classtext = 'et_featured_image'; $titletext = get_the_title(); $alttext = get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true ); $thumbnail = get_thumbnail( $width, $height, $classtext, $alttext, $titletext, false, 'Blogimage' ); $thumb = $thumbnail["thumb"]; if ( 'on' === et_get_option( 'divi_page_thumbnails', 'false' ) && '' !== $thumb ) print_thumbnail( $thumb, $thumbnail["use_timthumb"], $titletext, $width, $height ); ?> <?php endif; ?> <div class="entry-content"> <?php the_content(); if ( ! $is_page_builder_used ) wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'Divi' ), 'after' => '</div>' ) ); ?> </div> <?php if ( ! $is_page_builder_used && comments_open() && 'on' === et_get_option( 'divi_show_pagescomments', 'false' ) ) comments_template( '', true ); ?> </<?php echo et_core_intentionally_unescaped( $container_tag, 'fixed_string' ); ?>> <?php endwhile; ?> <?php if ( ! $is_page_builder_used ) : ?> </div> <?php get_sidebar(); ?> </div> </div> <?php endif; ?> </div> <?php get_footer();
Save Changes
Rename File
Rename