• Resolved flem0328

    (@flem0328)


    So on my site in my original works section (go to audio gallery and then then “original works”) I have thumbnails on a grid page for each section using the “featured image” function. I want the featured image in the thumbnail but I don’t want it to appear inside of the page. Where in the code for this theme would I make it so that the featured image only appears in the thumbnail. Is this something that can be changed in the theme editor or do I have to edit one of the PHP files in my FTP server? I’m practically losing my mind over this and the internet has yielded nothing. I’m a noob with HTML and a lot of the solutions I’ve found involve creating a “child theme” but that sort of thing is way beyond my skill set. I’m just a visual person.

    Site:
    https://www.blackrainproductions.com/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Is your WordPress site self-hosted or are you using WordPress.com?

    Thread Starter flem0328

    (@flem0328)

    It’s self hosted

    Okay I couldn’t seem to find the theme online anywhere except for wordpress.com so I can’t give you 100% specifics here.

    But overall, what you’ll need to do is create a child theme and activate that. Then you’ll want to copy the template file responsible for outputting your single post pages down into your child theme in the same place structurally.

    This file is most likely going to be single.php or a file that the single.php calls to… which will hold all of the HTML. Mixed up in that HTML will be a function called the_post_thumbnail and that’s what’s used to output featured images. Removing it from that file will remove the images from featured posts.

    If you can point me to a download of this theme, I can be a lot more specific. Otherwise, what I’ve mentioned should get you started.

    Thread Starter flem0328

    (@flem0328)

    https://theme.wordpress.com/themes/motif/

    This is the link to the them’s webpage and on the right should be the link to downlaod the theme.

    Thread Starter flem0328

    (@flem0328)

    I fixed it, I went into my page.php and changed

    <?php if ( ” != get_the_post_thumbnail( ) ) : ?>

    to

    <?php if ( ” != get_the_post_thumbnail(‘false’) ) : ?>

    Thanks for your help.

    Any idea how to currently get the featured image from showing up on single posts? I don’t have this code listed above on my page.php

    https://thechildbirthprofession.com/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Theme: Motif]: Eliminating Featured Image Thumbnail Inside of Post’ is closed to new replies.