• Resolved getken

    (@getken)


    For each page that has an image, an extra image appears at the top of the page in the body of the page at the top above the page header.

    https://akwamag.managingcleantech.com/sample-page/

    The editor does not show this image is present, so it must be something in the Bearded theme? If I delete that image from media gallery, it will just substitute another image in that position. Seems like it is putting a page thumbnail image there, but I don’t want that.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • That is the theme inserting the featured image. If you don’t use the featured images anywhere else you could remove it, if you do need elsewhere then you’ll need to edit the page.php (which should be done using a child theme) to remove the function calling the featured image.

    Thread Starter getken

    (@getken)

    Thanks BenjC88. Figured I might have to do something like that. I am a novice and typically don’t get into php files, but can give it a try. Any recommendations on where I can learn more, even as basic as where I access the php files and what I do to access the code. From there I can probably figure out how to remove the lines that insert the unwanted image.

    Thread Starter getken

    (@getken)

    I found this but not sure if it is the right place where I can remove the function calling the featured image.

    /home4/getken/public_html/wp-content/themes/bearded/library/classes/widget-pages.php

    If it is the right place, it is not clear to me which function needs to be removed.

    Thread Starter getken

    (@getken)

    In the page templates folder, there is no page.php.
    In that folder, 2 files called portfolio3.php and portfolio4.php have this in the code. Am I hot or cold??

    <div class=”portfolio-entry-thumbnail”>
    <?php if(current_theme_supports( ‘get-the-image’ )) { get_the_image( array( ‘size’ => ‘large’ ) ); } ?>
    </div>

    Thread Starter getken

    (@getken)

    Fixed it by going to content-page.php and changed first instance of this…

    <?php bearded_post_thumbnail(); ?>

    to this…

    <!– <?php bearded_post_thumbnail(); ?>–>

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Extra Image shows up at top of Page’ is closed to new replies.