Community Forums › Forums › Archived Forums › General Discussion › 2 featured images showing at beginning of post
Tagged: generate themes, mod help
- This topic has 16 replies, 6 voices, and was last updated 10 years, 10 months ago by MacWebgrrl.
-
AuthorPosts
-
May 18, 2013 at 10:34 pm #41581AndreaKayMember
Hi there. Using the generate child theme, there are 2 featured images showing. Well, one is the image in the actual post, but it is also showing a featured image. The featured image needs to be removed and I can't figure out how to do it. http://thepositivitysolution.com
I checked the theme settings to ensure that the featured image was disabled, and it was.
Also, the feature images in the columns are looking funky too. I just migrated this site over from another theme (suffusion) so I am guessing it has to do with the size of the images.
I did look at the theme instructions, however, the Generate instructions are not nearly as comprehensive as some of the others.
I have the site on Maintenance Mode, but will remove until midnight PST.
Any assistance would be so welcome. Thanks!
May 19, 2013 at 9:17 am #41601devParticipantIf you have the theme in "maintenance" mode, how are we supposed to see it to help you?
May 19, 2013 at 9:54 am #41613Bill MurrayMember1) On image sizes: Using the WP media manager, images are sized when uploaded based on the settings in effect at that time. WP stores a copy of each size of each image. When you change themes or plugins, WP doesn't automatically generate the new sizes unless you tell it to. You can use the Ajax Thumbnail Rebuild plugin in the WP plugin repo to solve this problem.
2) On double images: Generate uses a home.php template that makes use of Grid loop. If you have an image in your post and images are hard-coded into the home.php template, you'll could see double images.
Hope that helps.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
May 21, 2013 at 8:31 pm #42116MacWebgrrlMemberI'm having the same problem, but I'm not a coder. When I add an image to a post, I do not tag it as a featured image, and publish. A cropped version of the image appears at the top and then the full-sized version right below it. http://www.rampantwedesigns.com
I like the theme, but this problem makes me look unprofessional. What's the easiest way to fix it?
Any help is appreciated!
May 21, 2013 at 9:03 pm #42121Bill MurrayMember@MacWebgrrl - I can only assume you are using the Generate theme, since you don't say and your link doesn't work.
If you are using Generate, as I said in my previous post, the home page is controlled by home.php. By default, Generate displays 2 featured posts followed by some posts in a grid loop. Generate will grab the image that is attached to the post and display that first, then it will display post content up to a more tag. One way to get rid of the 2nd image is to make sure you only include an image in the post content that is after the more tag. If you want to change the way the grid loop operates, you'll need to edit home.php.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
May 21, 2013 at 9:33 pm #42125MacWebgrrlMemberThanks, yes, it's the Generate theme. I didn't know about the 'more' tag until tonight, but it wasn't clear that it would also help with the double image problem.
I misspelled my URL, sorry. http://rampantwebdesigns.com/
Thanks for such a quick reply!
May 21, 2013 at 9:52 pm #42128Bill MurrayMemberSo...
1) I'm guessing you switched to the Generate theme after uploading some of your images? That would explain why the first image on your first post is the wrong size. WP generates image sizes based on the settings in effect when you upload the images. If those settings change, you need to regenerate the images. Visit the WP plugin repo and grab the Ajax Thumbnail Rebuild and run it. That should solve the image sizing problem.
2) Looking at the source of the first image, it appears you put the 2nd image inside H2 tags, followed by a 2nd H2. That might be more obvious in the HTML editor as opposed to the visual editor. I recommend you delete the H2 tags surrounding the image, and delete the image from the post content. That will solve the duplicate image problem on that post.
A bit of unsolicited advice: shorten those permalinks. It's fine to have catchy titles, but the permalink should be short and keyword rich and without stop words.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
May 21, 2013 at 11:16 pm #42138MacWebgrrlMember1) No, I've had the theme for a bit and it has always happened in every post, but only on the first page. When I add a new post, then image in the previous one shows up fine.
2) Thanks, I deleted the image and the thumbnail sized remained, but the subheading wrapped around it really badly. I can't upload an image here, but if you go to the site you can see it. Then, when I viewed the article on it's own page, there was no image...and I do want the image there. 🙁
I'll try the more' tag idea.
May 22, 2013 at 4:00 am #42165eamonmoriartyParticipantI haven't used that theme but I see that around line 1307 in the CSS file is what determines the margins around the image. My suggestion would be something like:
.post-image {
border: 0 none;
margin: 0 10px 10px -40px !important;
max-width: none !important;
padding: 0;}
but you can experiment yourself.
Eamon Moriarty
EM DzineMay 22, 2013 at 8:10 am #42194MacWebgrrlMemberThanks, eamonmoriarty. I tried that and it had no effect.
May 22, 2013 at 8:26 am #42196Bill MurrayMemberYou need to download, install, activate and run a plugin to regenerate your thumbnails, as I previously suggested. That should solve the problem on the 1st home page post. After doing that, post back with your results.
You may have had the theme for some time, but the images were originally uploaded before Generate was your active theme. If Generate was activated at the time you uploaded the images, they would be automatically sized correctly for Generate but not another theme. That's the way thumbnails work in WP.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
May 22, 2013 at 9:33 am #42204MacWebgrrlMemberThanks, Bill. I understand about the image resizer and have used it before, however that is not the case here. The image in my current post was newly uploaded for this post and not already in my gallery. Resizing isn't what's going on - it's that the theme automatically places a cropped copy of the image at the top of the first post on the page. In the theme demo, I noticed there are no images actually in the posts themselves, just text.
If you place an image at the top of your post (like I did), then it looks like you inserted two of the same image by mistake. The double stacking does not appear on older posts. Now, after I moved the image farther down in the post, the subheader doesn't appear on a line below the cropped image, but inline with it...which really looks bad.
I don't think it has anything to do with the grid looping you mentioned because that seems to apply to older posts and that design is working just fine.
May 22, 2013 at 9:43 am #42209MacWebgrrlMemberI just tried inserting < !--more-- > in the post as suggested on the Generate theme setup page and it only showed up as text.
"Insert < !--more-- > into those posts where you want the content to cut off on the main page."
It doesn't work.
May 22, 2013 at 9:45 am #42210MacWebgrrlMemberAnother update...the subheading is now showing up on the line below the cropped image as it should. Mysterious.
May 22, 2013 at 9:48 am #42211MacWebgrrlMemberAnd now it's not - after I removed a <span style> that I didn't put in there.
July 1, 2013 at 6:15 pm #48770pcstokesMemberI'm having the exact same problem -- putting an image in post; no featured image; then on the home page it shows up in the content and a second image cropped poorly next to it. Can't seem to get rid of it. Any ideas? http://www.paskvanmedia.com thanks in advance.
July 2, 2013 at 11:49 pm #48927MacWebgrrlMemberI changed to a different theme instead. Oh, well.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.