Forum Replies Created
-
AuthorPosts
-
brianliddell
MemberMy hack solution above still seems to work OK:
– In Genesis > lib > functions > image.php file at line 80, change the ‘fallback’ setting from ‘first-attached’ to ‘ ‘
But for those of us old enough to remember the happy days of table-based layout and spacer.gifs, I've thought of another solution:
– Just set the featured image to a one-pixel transparent spacer.gif and the job's done!
I've not tested it out, but the idea makes me smile anyway.
brianliddell
MemberIn reply to Mealtog:
I don't think this is a good solution. What should happen is that Genesis should obey the user's WP post input:
1. by displaying a featured image when the user has added a featured image to the post,
and
2. by NOT displaying a featured image when the user has NOT added a featured image to the post.brianliddell
MemberI sent in a support ticket on October 17 complaining of this behaviour. Disappointingly, I've had no response so far.
In the meantime, I've found a temporary solution by hacking into the Genesis > lib > functions > image.php file at line 80, and changing the 'fallback' setting from 'first-attached' to ' '
This seems to have the desired effect on my development local site, but I've not properly tested to see whether it affects other situations where image.php is called.
I don't really understand what I'm doing here, so, again, I'm hoping that someone will ship in with a more elegant and safer way of achieving the same result.
brianliddell
MemberI’m actually one of the few people annoyed with the fact that Genesis automatically takes the first image in a post and makes it the default “featured image”. I’ve worked with several non-Genesis themes in the past that don’t do that, so it seems like this “feature” is only a Genesis thing, and I for one hate that there doesn’t seem to be a way for me to turn it off when I want to or need to.
I'm also one of those 'few people' and I strongly agree with this sentiment.
If 'Display post excerpts' and 'Include the Featured Image?' are selected in Theme Settings, then for every post that hasn't got a WP Featured image, the archive page randomly selects an image (apparently the first image, but effectively random in my book) from the post and displays it at the top of the excerpt.
This is counter intuitive, and surely not how the WP featured image is intended to behave.
There are plenty of posts that I want to display only text on the archive page, and certainly not a randomly selected image, which can even be a tiny graphic icon never intended or big enough to work as a featured image.
I think this is a bug in the Genesis parent framework, and it should be fixed!
Images should be added to a page only where the writer or designer intended, where they add to the reader's understanding, and not randomly just to fill space.
In the meantime, and allowing for the possibility that this unwanted, counterintuitive, and effectively random behaviour gets left in permanently, can anyone help me to turn it off using a Child function, or even by hacking into the Genesis parent theme's php?
Many thanks to anyone who can help.
-
AuthorPosts