• 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

Portfolio Troubles – Duplicate Image Output with entry-content

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 › Portfolio Troubles – Duplicate Image Output with entry-content

This topic is: resolved

Tagged: archive portfolio, duplicate image, entry-content, news, News Theme, portfolio

  • This topic has 2 replies, 1 voice, and was last updated 13 years ago by Scott Buehler.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 23, 2013 at 12:34 am #22360
    Scott Buehler
    Member

    I need assistance with a custom post type archive portfolio page on my news theme.

    Source for code: http://www.briangardner.com/portfolio-page/
    My CSS is wrong but that's easier for me to work with.

    I'm using that exact code yet I'm getting duplicate image output:
    Live example: http://www.webhostingchoose.com/wordpress-training/

    Why is <div class="entry-content"> outputting that 100x100 featured image? Is there a remove_action I can do to remove entry-content from being output? I can't seem to find a way with various attempts of Google searches. Help?


    TygrScott on Social Media

    February 23, 2013 at 12:49 am #22362
    Scott Buehler
    Member

    OK, I figured out that this is a setting under Dashboard > Genesis > Theme settings. If I disable the featured image, the problem goes away.

    HOWEVER, I like the featured image on my blog archive, category, and another CPT.

    Is there a way to bypass this featured image for certain CPT archives?


    TygrScott on Social Media

    February 23, 2013 at 12:58 am #22363
    Scott Buehler
    Member

    As usual, I figure it out after spending 2 hours researching then posting, then a search does exactly what I need.

    For those of you that have featured images set in theme settings for archives, you can disable it under your archives-cpt.php file with

    /* Remove Default Featured Image from Theme Settings */
    remove_action( 'genesis_post_content', 'genesis_do_post_image' );


    TygrScott on Social Media

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Portfolio Troubles – Duplicate Image Output with entry-content’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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