/
home
/
techb158
/
dev.aleamaralawal.com
/
wp-content
/
themes
/
Divi
/
/home/techb158/dev.aleamaralawal.com/wp-content/themes/Divi
mkdir
upload
Name
Size
Mode
Actions
ai-app/
-
0755
rm
cloud/
-
0755
rm
common/
-
0755
rm
core/
-
0755
rm
css/
-
0755
rm
epanel/
-
0755
rm
et-pagebuilder/
-
0755
rm
images/
-
0755
rm
includes/
-
0755
rm
js/
-
0755
rm
lang/
-
0755
rm
onboarding/
-
0755
rm
psd/
-
0755
rm
404.php
377
0644
edit
dl
rm
changelog.txt
827189
0644
edit
dl
rm
comments.php
3002
0644
edit
dl
rm
CREDITS.md
56563
0644
edit
dl
rm
error_log
8543
0644
edit
dl
rm
footer.php
1735
0644
edit
dl
rm
functions.php
312368
0644
edit
dl
rm
header.php
12925
0644
edit
dl
rm
index.php
2574
0644
edit
dl
rm
LICENSE.md
16621
0644
edit
dl
rm
options_divi.php
54768
0644
edit
dl
rm
page-template-blank.php
2038
0644
edit
dl
rm
page.php
1799
0644
edit
dl
rm
post_thumbnails_divi.php
1522
0644
edit
dl
rm
README.md
1405
0644
edit
dl
rm
rtl.css
12482
0644
edit
dl
rm
screenshot.jpg
33526
0644
edit
dl
rm
sidebar-footer.php
377
0644
edit
dl
rm
sidebar.php
317
0644
edit
dl
rm
single-et_pb_layout.php
295
0644
edit
dl
rm
single-project.php
3003
0644
edit
dl
rm
single.php
5024
0644
edit
dl
rm
style-cpt-rtl.min.css
36088
0644
edit
dl
rm
style-cpt.min.css
36088
0644
edit
dl
rm
style-rtl.min.css
26638
0644
edit
dl
rm
style-static-cpt-rtl.min.css
1100885
0644
edit
dl
rm
style-static-cpt.min.css
1062851
0644
edit
dl
rm
style-static-rtl.min.css
858046
0644
edit
dl
rm
style-static.min.css
824699
0644
edit
dl
rm
style.css
344
0644
edit
dl
rm
style.min.css
26638
0644
edit
dl
rm
theme-after-footer.php
333
0644
edit
dl
rm
theme-after-header.php
475
0644
edit
dl
rm
theme-after-wrappers.php
208
0644
edit
dl
rm
theme-before-wrappers.php
459
0644
edit
dl
rm
theme-footer.php
1585
0644
edit
dl
rm
theme-header.php
11812
0644
edit
dl
rm
theme.json
242
0644
edit
dl
rm
wpml-config.xml
345
0644
edit
dl
rm
Edit:
/home/techb158/dev.aleamaralawal.com/wp-content/themes/Divi/single-project.php
(3003B)
<?php get_header(); $is_page_builder_used = et_pb_is_pagebuilder_used( get_the_ID() ); $show_navigation = get_post_meta( get_the_ID(), '_et_pb_project_nav', true ); ?> <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(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( ! $is_page_builder_used ) : ?> <div class="et_main_title"> <h1 class="entry-title"><?php the_title(); ?></h1> <span class="et_project_categories"><?php echo get_the_term_list( get_the_ID(), 'project_category', '', ', ' ); ?></span> </div> <?php $thumb = ''; $width = (int) apply_filters( 'et_pb_portfolio_single_image_width', 1080 ); $height = (int) apply_filters( 'et_pb_portfolio_single_image_height', 9999 ); $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, 'Projectimage' ); $thumb = $thumbnail["thumb"]; $page_layout = get_post_meta( get_the_ID(), '_et_pb_page_layout', true ); if ( '' !== $thumb ) print_thumbnail( $thumb, $thumbnail["use_timthumb"], $alttext, $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 ) : ?> <?php if ( ! in_array( $page_layout, array( 'et_full_width_page', 'et_no_sidebar' ) ) ) { et_pb_portfolio_meta_box(); } ?> <?php endif; ?> <?php if ( ! $is_page_builder_used || ( $is_page_builder_used && 'on' === $show_navigation ) ) : ?> <div class="nav-single clearfix"> <span class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . et_get_safe_localization( _x( '←', 'Previous post link', 'Divi' ) ) . '</span> %title' ); ?></span> <span class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . et_get_safe_localization( _x( '→', 'Next post link', 'Divi' ) ) . '</span>' ); ?></span> </div> <?php endif; ?> </article> <?php if ( ! $is_page_builder_used && comments_open() && 'on' === et_get_option( 'divi_show_postcomments', 'on' ) ) comments_template( '', true ); ?> <?php endwhile; ?> <?php if ( ! $is_page_builder_used ) : ?> </div> <?php if ( in_array( $page_layout, array( 'et_full_width_page', 'et_no_sidebar' ) ) ) { et_pb_portfolio_meta_box(); } ?> <?php get_sidebar(); ?> </div> </div> <?php endif; ?> </div> <?php get_footer();
Save
cmd:
run