Community Forums › Forums › General Discussion › Featured image doubled
Tagged: featured image
This topic contains 9 replies, has 3 voices, and was last updated by webartsco 4 months ago.
-
AuthorPosts
-
January 2, 2013 at 7:17 pm #9088
I’m using Genesis Enterprise child theme and getting a double image for the featured image, in the /blog view, but just the single image in the single post view.
I can’t see where I can fix this.
January 2, 2013 at 7:20 pm #9089i’d take a look at this: http://surefirewebservices.com/wordpress/wp-snippet-duplicate-featured-image-on-post-and-homepage
i hope that helps!
Ozzy Rodriguez | Twitter | Google+ | Facebook
January 2, 2013 at 8:08 pm #9098Thanks Ozzy. I’m thinking that is not quite right, because the double image is not on the front page (I’m using the WP option of having a front page as a “non-blog” page and the blog on a blog post page http://deswalsh.com/blog which is where the doubling is taking place.
January 2, 2013 at 8:25 pm #9099you can create an is_blog function or you can spell it out in the function, but the link below should work for you.
i took the first part from https://gist.github.com/1189639 and just edited the function from http://surefirewebservices.com/wordpress/wp-snippet-duplicate-featured-image-on-post-and-homepage to reflect the new function you created.
Ozzy Rodriguez | Twitter | Google+ | Facebook
January 2, 2013 at 8:59 pm #9100Thanks Ozzy – I appreciate that and will work on it.
January 2, 2013 at 10:34 pm #9110anytime! if that doesn’t work exactly, let the community know and we’ll see what we can do!
Ozzy Rodriguez | Twitter | Google+ | Facebook
January 8, 2013 at 12:40 am #10298I tried that code in functions.php and when I tried to save got this error message
Parse error: syntax error, unexpected T_LNUMBER in /home/<username>/public_html/deswalsh.com/wp-content/themes/enterprise/functions.php on line 69
January 14, 2013 at 5:51 pm #11965I am interested in this, too. Although the above code from the first response helped with my homepage image, I am having the same issue with double featured image on a single blog post.
January 14, 2013 at 6:53 pm #11973I just tried what Ozzy recommended for the issue, but the function had an error. I had to reinstall my functions.php.
January 14, 2013 at 8:10 pm #11981WellReadReview – do you mean like the error message I got, as above?
-
AuthorPosts
You must be logged in to reply to this topic.