Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Resolved] Each post has a duplicated photo.

Home Forums Support [Resolved] Each post has a duplicated photo.

Home Forums Support Each post has a duplicated photo.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #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:

    Post with duplicated immage

    Could you help me?

    Thanks a lot.
    Enrico

    #116391
    Tom
    Lead Developer
    Lead Developer

    Hi 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 πŸ™‚

    #116476
    Enrico

    Thanks a lot Tom,
    this code solve the problem.

    #116488
    Enrico

    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.

    #116586
    Tom
    Lead Developer
    Lead Developer

    Not 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.

    #116591
    Enrico

    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

    #116592
    Tom
    Lead Developer
    Lead Developer

    That’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 πŸ™‚

    #116594
    Enrico

    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.

    #116595
    Tom
    Lead Developer
    Lead Developer

    When you say shared, do you mean shared on Facebook or something?

    #116596
    Enrico

    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.

    #116597
    Tom
    Lead Developer
    Lead Developer

    Gotcha. 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/

    #116598
    Enrico

    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!

    #116606
    Tom
    Lead Developer
    Lead Developer

    No problem, let me know how it goes πŸ™‚

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