How to show Specified Featured Image Only and not Post Images

Homepage Community Forums Epik Theme Support How to show Specified Featured Image Only and not Post Images

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
  • #6253

      I’m using Epik Theme and when I enable “featured images”, posts that do not have featured images show post images as featured images on front/blog page!
      I would like to show featured images only for posts that I specified featured images. Post images shouldn’t show as featured images.

      I shall appreciate any support.
      Thank you.


        Post images can’t show up as featured images. Only the featured images show at the top in the featured image section. Post images can only show up inside the post.

        The post images will only show above the content/text if you have it there in the actual post. You’ll need to add a content limit in order for the images to not show up.

        I create awesome sites for awesome people! Contact me if interested –


          Well, that’s what I think it should work but unfortunately it doesn’t work that way.
          A post image show up as featured image whenever I have not featured image set!

          But when I have images in the post and yet set a featured image, everything works fine! The featured image shows up as expected!

          Please note that I have content limit set too!

          Please help!


            Do you have a link? I would need one in order to see what’s going on.

            I create awesome sites for awesome people! Contact me if interested –



              NOTE: Only the top post has featured image. I haven’t set featured images for other posts.


                You must have a setting or a plugin somewhere that is conflicting with it. Here is how I just changed my settings on a local install – Notice I added a content limit of 500. When I do that, the images don’t appear. It only shows the text and the featured image. That’s the way Genesis is supposed to work.

                I would check to see of you have any other plugins active that could be causing the issue, and deactivate each one until it’s fixed. If you have any custom code anywhere, try temporarily removing it to see if that’s the issue. The only other thing is to double check your settings.

                Again, the post images are supposed to disappear when you add a content limit, so if they’re not, then there’s something else conflicting with it.

                I create awesome sites for awesome people! Contact me if interested –


                  I have same settings as the one you have shown in that picture. But yet it’s not working!

                  I’m not so sure which code or plugin in causing this but someone help me out half way but couldn’t get the complete code.

                  Could you please help me complete the code below maybe? Looks like it’s gonna work!

                  INCOMPLETE CODE;

                  // Change featured image
                  remove_action ( 'genesis_post_content', 'genesis_do_post_image' );
                  add_action ( 'genesis_post_content', 'child_do_post_image' ) ;
                  function child_do_post_image() {
                  // conditional to determine if the actual featured image is set, go away if not
                  // code here to grab and print out that image

                    I can’t really help with the code because I’m not even sure why its there and for what reason. It would be best to get the person that was helping you before to complete that….(either that or you could hire someone if it becomes a big issue.

                    Try temporarily removing it and any other code you may have added to see if that’s the issue. Make sure and backup your work.

                    This isn’t something I’ve ever experienced and I’ve built a lot of Genesis sites. So if that doesn’t help then I have no idea what’s going on.

                    I create awesome sites for awesome people! Contact me if interested –


                      LOL, that’s a skeleton of what should work that I posted on the Studio Press forums earlier this week 🙂

                      I can explain, and yes, this is a Genesis problem that’s been around since WordPress went to the Featured Image option in, what was it, version 2.9, I think.

                      If you set a specific Featured Image using the meta box in a new post, that’s your Featured Image, as expected. But if you do not set a Featured Image, Genesis will by default choose the first post image, and use it as a Featured Image, with no way for anyone to override it in any setting, without coming up with a specific filter or function to alter that behavior.

                      To be clear, this is behavior seen when viewing category/content archives. If viewing the actual post, you won’t see the featured image, but if you view, say, the category News, articles that you didn’t set a featured image for will display the first post image as a featured image if you have the Genesis settings set to “Show Featured Image” in the content archives settings.

                      I pasted that snippet in the thread francky started over at the Studio Press forums, while still looking for the particular snippet I’d seen before that came close, and I hadn’t found it yet. What I did find this morning is something close, but it won’t work as-is for what he (and a lot of other people) want in terms of functionality.

                      I found this snippet at Greg Rickaby’s site:

                      /** Add custom post image above post title */
                      add_action( 'genesis_before_post_content', 'generate_post_image', 5 );
                      function generate_post_image() {
                      	if ( is_page() || ! genesis_get_option( 'content_archive_thumbnail' ) )
                      	if ( $image = genesis_get_image( array( 'format' => 'url', 'size' => genesis_get_option( 'image_size' ) ) ) ) {
                      		printf( '<a href="%s" rel="bookmark"><img class="post-image" src="%s" alt="%s" /></a>', get_permalink(), $image, the_title_attribute( 'echo=0' ) );

                      It looks like it should be easy enough to modify it to only display a set Featured Image, and not display anything if one isn’t specifically set… I just haven’t had time to play with it to get it tweaked properly.


                        Mr. Eric, I’m not saying that I have implemented the code above anywhere in my site. I only said that was someone else’s idea about solving the matter.

                        I have tried cleaning up my site but nothing has worked so far. I can’t imagine using the theme without featured image working properly so I shall greatly appreciate any help available, Sir!



                          More info: if you set the content limit, you can still have the Featured Image set, it’s not automatically stripped away as you stated in a previous thread.

                          You can test this for yourself like this:

                          Create three posts in a category, set a specific feature image in two of them, and insert a post image that’s of a smaller width than what’s defined for the chosen feature image for archives in the third one.

                          When you view that category listing, with either content limit or excerpts, that article without a defined featured image will display the post image you used as the featured image, and it won’t be as wide as the other images.

                          Not even the Featured Widget Amplified plugin gets around this behavior.

                          I’ve been running several magazine sites since 2005, and this Featured Image conundrum has been a problem since before Studio Press moved to Genesis. I got around it by training my magazine contributors to always use a Featured Image of a specific size, no matter what size post image they included. I still get uneven images now and then, but people forget instructions, so what can you do? 🙂

                          I’m better at tweaking PHP now than I was a few years ago, but with having to make sure sites won’t break with WP 3.6 and Genesis 2.0 updates, and figuring out what I can update now and what has to wait until later for both my sites and my client sites, I just didn’t have time to tackle and test out what would specifically work for this scenario now.

                          I was just happily surprised to finally run into someone else who thought this behavior was a problem!


                            @francky I’ve tried nearly every thing I could to see if I could replicate the issue, but it’s still working fine for me on my end. I’d love to help, but I have no idea what’s going on with your setup. Have you deactivated all of your plugins/code already?

                            I’m out of ideas, so if there is anyone else out there that knows what’s going on please let us know.

                            Also, @francky since this isn’t a child theme issue, and more of a Genesis Framework issue, you could ask some of the developers in the StudioPress Community Forum to see if someone knows whats going on. I know there are plenty more developers there who have much more experience than I do that can definitely help you get this figured out…..I don’t want to keep you waiting on me lol

                            I’ll definitely let you know if I come across something that could help.

                            Have you read @atouchofsummer’s comments?

                            I create awesome sites for awesome people! Contact me if interested –


                              A Touch Of Summer & Eric!

                              I greatly appreciate your support!
                              I have tried to do as you advised but unfortunately it still didn’t work out!

                              I have another thread in StudioPress Forum ( but so far I haven’t been able to find the solution.

                              I’m still wondering what’s wrong, seriously! I can’t use featured images in my site at all!

                              Will be more than happy to have this resolved!

                            Viewing 13 posts - 1 through 13 (of 13 total)
                            • You must be logged in to reply to this topic.