• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Double Image In Smart Passive Income Theme?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Double Image In Smart Passive Income Theme?

This topic is: not resolved
  • This topic has 5 replies, 2 voices, and was last updated 5 years, 9 months ago by KenTheriot.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • February 4, 2018 at 3:40 pm #216079
    KenTheriot
    Member

    I'm having a hard time with images being duplicated in my pages and posts on my site that uses the Smart Passive Income theme. Regardless of whether I establish a "Featured Image," the live page/post will display two versions of whatever image I put in my post or page.

    Here is an example - http://www.becomingamagician.com/become-magician-landing-page/

    It's the top version of the image, which is cropped and looks terrible anyway, that I don't want. I don't understand where it's coming from.

    Can anyone help me out on this?

    Thanks.

    Ken

    http://www.becomingamagician.com/become-magician-landing-page/
    February 5, 2018 at 11:54 am #216105
    Porter
    Participant

    Mind posting the contents of your functions.php file somewhere? (pastebin is down right now, try https://paste.ofcode.org/)


    Buy me a beer? | Try DigitalOcean VPS Hosting

    February 5, 2018 at 12:06 pm #216106
    KenTheriot
    Member

    Not sure how to use paste.ofcode.org but I'll try. Here is the url of the page where I pasted the content of my functions.php file. Hope that's right:

    https://paste.ofcode.org/ugdYRvt6RTxBnbHWjTR8zA

    February 5, 2018 at 12:47 pm #216109
    Porter
    Participant

    Lines 172 - 193 are altering your featured image settings. I'm a bit out of it right now, but try commenting out (add // to the beginning of the line) or removing line 174.

    If that doesn't work work, try commenting out 177. I'm not 100% sure what's going on here, so a bit of guess and check work is due. If I had the site running locally, I'd figure out what exactly that function does, but for now, give that a try.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    February 5, 2018 at 1:02 pm #216110
    KenTheriot
    Member

    Thanks Porter. I'll try that.

    The confusing thing is that I'm not even designating the image as the "Featured Image." in this case. In fact I have not designated one at all. There must be some sort of automatic scripting going on that takes the first image and just makes it the Featured Image, maybe?

    I'll let you know if that worked. Thanks again!

    Ken

    February 5, 2018 at 1:07 pm #216111
    KenTheriot
    Member

    Porter - Commenting out 174 didn't work, but doing it to 177 DID!

    Thanks so much!

    Ken

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble