/
home
/
desid573
/
verdenaturopathy.com.au
/
wp-content
/
themes
/
Divi_old
/
/home/desid573/verdenaturopathy.com.au/wp-content/themes/Divi_old
mkdir
upload
Name
Size
Mode
Actions
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
psd/
-
0755
rm
404.php
484
0644
edit
dl
rm
changelog.txt
655271
0644
edit
dl
rm
class-wp-theme-support.php
3289
0644
edit
dl
rm
comments.php
3079
0644
edit
dl
rm
CREDITS.md
56866
0644
edit
dl
rm
footer.php
1849
0644
edit
dl
rm
functions-string.php
0
0644
edit
dl
rm
functions.php
0
0644
edit
dl
rm
header.php
12827
0644
edit
dl
rm
index-git.php
0
0644
edit
dl
rm
index.php
2681
0644
edit
dl
rm
LICENSE.md
16621
0644
edit
dl
rm
options_divi.php
51017
0644
edit
dl
rm
page-class.php
0
0644
edit
dl
rm
page-template-blank.php
2118
0644
edit
dl
rm
page.php
1930
0644
edit
dl
rm
post_thumbnails_divi.php
1522
0644
edit
dl
rm
README.md
1457
0644
edit
dl
rm
rtl.css
9030
0644
edit
dl
rm
screenshot.jpg
33526
0644
edit
dl
rm
sidebar-footer.php
458
0644
edit
dl
rm
sidebar.php
339
0644
edit
dl
rm
single-et_pb_layout.php
363
0644
edit
dl
rm
single-project.php
3154
0644
edit
dl
rm
single.php
5325
0644
edit
dl
rm
style-cpt.css
1016701
0644
edit
dl
rm
style-cpt.dev.css
1158206
0644
edit
dl
rm
style.css
824269
0644
edit
dl
rm
style.dev.css
977861
0644
edit
dl
rm
theme-after-footer.php
359
0644
edit
dl
rm
theme-after-header.php
475
0644
edit
dl
rm
theme-after-wrappers.php
233
0644
edit
dl
rm
theme-before-wrappers.php
459
0644
edit
dl
rm
theme-footer.php
1651
0644
edit
dl
rm
theme-header.php
11401
0644
edit
dl
rm
wpml-config.xml
345
0644
edit
dl
rm
Edit:
/home/desid573/verdenaturopathy.com.au/wp-content/themes/Divi_old/post_thumbnails_divi.php
(1522B)
<?php add_theme_support( 'post-thumbnails' ); global $et_theme_image_sizes; $et_theme_image_sizes = array( '400x250' => 'et-pb-post-main-image', '1080x675' => 'et-pb-post-main-image-fullwidth', '400x284' => 'et-pb-portfolio-image', '510x382' => 'et-pb-portfolio-module-image', '1080x9999' => 'et-pb-portfolio-image-single', '400x516' => 'et-pb-gallery-module-image-portrait', '2880x1800' => 'et-pb-post-main-image-fullwidth-large', ); $et_theme_image_sizes = apply_filters( 'et_theme_image_sizes', $et_theme_image_sizes ); $crop = apply_filters( 'et_post_thumbnails_crop', true ); if ( is_array( $et_theme_image_sizes ) ){ foreach ( $et_theme_image_sizes as $image_size_dimensions => $image_size_name ){ $dimensions = explode( 'x', $image_size_dimensions ); if ( in_array( $image_size_name, array( 'et-pb-portfolio-image-single' ) ) ) $crop = false; add_image_size( $image_size_name, $dimensions[0], $dimensions[1], $crop ); $crop = apply_filters( 'et_post_thumbnails_crop', true ); } } if ( function_exists( 'et_screen_sizes' ) && function_exists( 'et_is_responsive_images_enabled' ) && et_is_responsive_images_enabled() ) { // Register responsive image sizes. $et_screen_sizes = et_screen_sizes(); if ( $et_screen_sizes && is_array( $et_screen_sizes ) ) { foreach ( $et_screen_sizes as $breakpoint => $width ) { $height = round( ( $width * ( 56.25/100 ) ) ); // 16:9 aspect ratio. add_image_size( "et-pb-image--responsive--{$breakpoint}", $width, $height, $crop ); } } }
Save
cmd:
run