• Hello, I am using the Divi theme from Elegant Themes and have tried editing the single.php but still can’t get rid of the featured image at the top of my post.

    Can anybody help as i think this theme has very different coding to most other themes!
    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter lukehollingworth

    (@lukehollingworth)

    Ah i found it in the single.project.php

    Can you tell me how you did it? I’ve been searching all over and still can’t seem to find it. I checked in single project php, but which code was it that you deleted? Thanks in advance

    Thread Starter lukehollingworth

    (@lukehollingworth)

    I deleted the following from single.project.php

    <?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();
    $thumbnail = get_thumbnail( $width, $height, $classtext, $titletext, $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”], $titletext, $width, $height );
    ?>

    <?php endif; ?>

    Hmm, for some reason that’s not working ??

    nevermind, I had to edit in the cpanel and it worked! Thanks

    I tried deleting from single.project.php and that didn’t do anything.

    When I deleted it from single.php, that worked.

    FYI.

    Hi everyone! I’m very new to WordPress and struggling quite a bit. I bought the Elegant themes and am trying to use Divi but I don’t know how to get rid of the Divi logo in the top left corner. Does anyone know if that is possible? any help is greatly appreciated! ??

    Go to Appearance > Divi Theme Options. This will open up epanel. The first thing under the general settings tab is the logo. Upload your logo there and it will replace the Divi logo.

    I tried uploading a new logo by going to the epanel in divi and it still isn’t working, it’s as if it’s not finishing the upload of the image. It doesn’t change.

    Under the Divi Theme Options (ePanel), go to Layout Settings. Under Single Post Layout, disable Place Thumbs on Posts.

    That’ll do it.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Remove featured image in post with Divi theme’ is closed to new replies.