• Hi, I get double images when I put one in my post and then list it as the featured image. I followed another post about this and deleted some code from the content-single.php and the content.php. But the very next day it showed up again (not sure if the theme updated or not).

    You don’t happen to have a child theme available where I could permanently change this or perhaps an update coming soon that would fix this problem do you?

    I’m googling how to create a child theme, but this isn’t my comfort zone, you might say!

    Thanks,
    Kate

    https://lettinggoandholdingtight.com

Viewing 8 replies - 1 through 8 (of 8 total)
  • this same exact thing is happening to my site too- and I don’t believe I have touched anything. I am having this issue with the Richer theme. And I am not updating the theme. So I don’t think it’s the theme. Any ideas? All of my images in WooCommerce are doing it, too.

    https://www.capintec.com

    i should note- i just noticed it’s only happening in firefox. not internet explorer or chrome. thanks!

    may be one is comming due to excerpt?

    Theme Author Carolina Nymark

    (@poena)

    Hi!
    I’m not aware of a Richer theme so I can’t help you, but Aaron is coded that way on purpose, it is not due to excerpts or browsers. ??

    The easiest way to fix it is to not include the image in your post,
    it is unclear if you want to disable the featured posts all together, or where you want them to show?

    Thread Starter katemegill

    (@katemegill)

    Wow, that doesn’t make sense to me. If I want to put the image in a place other than at the very top, I can’t do that, unless I don’t make it the featured post. We’ve tried not making it the featured post, but then it doesn’t show up on the main blog page, only on posts.

    Actually, had I know it was coded that way on purpose, I’d have chosen a different theme. Oh well.

    I have noticed the double images in this theme and in others. I’ve had to change from using a featured image to not using one for pages and posts that have embedded images. This is unfortunate because the featured image for a post is what gets used when a post is shared to Facebook, Twitter, and Pinterest. None of the images embedded in the post are used when shared.

    I often have images that I want in specific locations within the post positioned right or left and a specific size. Some also have styling such as a frame-type border and a caption. Some have links to other pages or other versions of the image.

    None of that is possible with a featured image because it just gets stuck into the top of the post.

    Is this a requirement of WordPress 4.4? If we have more than one image embedded in a post or page and we’d like to declare one of them to be the featured image that gets used when shared to social media, is it possible to add a function that says if the same image is already used in the post, don’t add it to the post? Or is this something we need to ask WordPress to implement?

    Thanks.

    Thread Starter katemegill

    (@katemegill)

    It’s not WordPress, it’s this theme and the way the authors chose to code it. Not a good way to do things, in my opinion, because, like you, I often desire to put an image in a specific place in my post and with MY chosen sizing. This coding of the theme just takes more autonomy away from the theme users.

    Theme Author Carolina Nymark

    (@poena)

    I understand that you are not happy with this design but you have free access to the code to make any changes that you want. There are also over 2000 other free themes to choose from.

    It would be super awesome to have unlimited time and resources to change, remove or add to all the theme features for every user or to sit down and show them how to make their own changes but it is simply not possible.
    I choose to make my themes free instead and I try to consider every change and who it will benefit.

    Both the blog index, portfolio, single page and single post publishes the featured image.
    It is first shown at the top of the post on the blog index, and then at the top of the post on single view (or in the header). That is what makes it “featured” for this theme.

    A featured image is not featured if it is not used anywhere.

    To remove it and only use it with plugins etc, you need to remove
    the_post_thumbnail();

    It is found in the following files:

    aaron\content-page.php:
    if( !aaron_get_meta( 'aaron_show_header' )
     || !aaron_get_meta( 'aaron_featured_image_header' ) ){
    if ( has_post_thumbnail()){
    the_post_thumbnail();
    }
    }
    
    aaron\content-portfolio-single.php:
    if ( has_post_thumbnail()){
    the_post_thumbnail();
    }
    
    aaron\content-single.php:
    if( !aaron_get_meta( 'aaron_show_header' )
    || !aaron_get_meta( 'aaron_featured_image_header' ) ){
    if ( has_post_thumbnail()){
    the_post_thumbnail();
    }
    }
    
    aaron\content.php:
    if ( has_post_thumbnail()){
    the_post_thumbnail();
    }

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Double images with featured image’ is closed to new replies.