- This topic has 12 replies, 3 voices, and was last updated 7 years, 1 month ago by
Tom.
-
AuthorPosts
-
June 24, 2015 at 7:25 am #116369
Enrico
Hi,
I have duplicated photos on all my post, I didn’t have this problem without add-on.Now I can not use GP Theme, you can see the problem in the following link:
Could you help me?
Thanks a lot.
EnricoJune 24, 2015 at 10:13 am #116391Tom
Lead DeveloperLead DeveloperHi Enrico,
Looks like your link never made it through.
Perhaps this CSS will help though..
.single .page-header-image-single { display: none; }
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 25, 2015 at 2:08 am #116476Enrico
Thanks a lot Tom,
this code solve the problem.June 25, 2015 at 3:11 am #116488Enrico
Sorry Tom, the problem is solved for posts but it is not solved for the pages.
Page’s featured image is showed in the page. It should only be used in the preview.
June 25, 2015 at 9:39 am #116586Tom
Lead DeveloperLead DeveloperNot sure what you mean by preview? Pages don’t act like posts where the featured image shows up on the blog and single posts – pages typically just have one featured image and that’s it.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 25, 2015 at 10:00 am #116591Enrico
In wordpress you can set a featured immage also in pages. In all the themes I tested in wordpress the featured immage is not showed inside page or inside post.
Your code fixed the problem for posts but not for pages.
Enrico
June 25, 2015 at 10:04 am #116592Tom
Lead DeveloperLead DeveloperThat’s because with pages they either show or don’t show – if you don’t want it to show on a page, you can just not add a featured image.
For posts, the featured images shows in blog excerpts and on the single post – so if you don’t want it on single posts, that code works great.
For pages, the featured images just show on the page. If you don’t want them to show on the page, you can just remove it/not add it in the first place.
Let me know if that makes sense or not π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 25, 2015 at 10:14 am #116594Enrico
I understand Tom,
but now, since I used it, I can not remove it.The featured images were used when the pages were shared. If I remove it now I fear that all the shared pages will have a preview of the page with an empty box.
I deleted a photo in the past and happened what I just described.
June 25, 2015 at 10:15 am #116595Tom
Lead DeveloperLead DeveloperWhen you say shared, do you mean shared on Facebook or something?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 25, 2015 at 10:18 am #116596Enrico
Yes Tom,
now I use a seo tool to give the right foto, but I used the featured image in the past in few pages.June 25, 2015 at 10:19 am #116597Tom
Lead DeveloperLead DeveloperGotcha. Do you have our Disable Element add-on? It allows you to hide the featured image on specific pages: http://generatepress.com/downloads/generate-disable-elements/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 25, 2015 at 10:24 am #116598Enrico
Yes I have It Tom,
I have bought all the add-on, just in case… πI will try to fix it.
Thanks a lot for the support!
June 25, 2015 at 11:58 am #116606Tom
Lead DeveloperLead DeveloperNo problem, let me know how it goes π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.