WordPress.org

Forums

[resolved] WordPress 3.7 Duplicate wp_post image (19 posts)

  1. sdpate48
    Member
    Posted 1 year ago #

    Just updated using Twenty_Twelve,

    The double first image on single posts has re-appeared.

    This happened a few years ago and there was a simple fix.

    My posts go
    1. Post image
    2. H2
    3. text

    The Post image is repeating after the H2

    Thanks if you remember the fix

  2. WPyogi
    Forum Moderator
    Posted 1 year ago #

    I can't replicate that on a test site. Is that an unmodified twentytwelve? Have you cleared any caching on your site and browser? Tried another browser? Deactivated any plugins?

    Can you post a link to your site?

  3. The double first image on single posts has re-appeared.

    Did you manually edit Twenty Twelve back in the day to fix this before?

  4. sdpate48
    Member
    Posted 1 year ago #

    Cleared the cache. The first image appears to be the Post Thumbnail - I switched images and it is the one that appears.
    Example

    http://njnnetwork.com/2013/10/surface-2-buyers-in-for-an-ugly-surprise/

    Twenty-twelve has only been modified in the CSS sandbox. Yup the update to the Theme blew that file away. That wasn't supposed to happen.

    Any idea what the file is called so I can find the backup and put the changes back?

    Why does the theme place two images in the story?

  5. sdpate48
    Member
    Posted 1 year ago #

    I wonder if someone could just tell me which file contains the Custom CSS for the theme. I could then restore that file.

    Thanks you,

  6. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Twentytwelve doesn't have a built-in custom CSS file. Were you using a plugin for custom CSS?

  7. sdpate48
    Member
    Posted 1 year ago #

    I guess its part of Jetpack but it was the twenty-twelve theme or 3.7 updates that blew it away. It shows up on the Dashboard under Appearance...Edit CSS

  8. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Yes, Edit CSS is from JetPack. Is your custom CSS still there (visible in the box)?

  9. Aha. It's the featured image isn't it? That's what's supposed to be a part of Twenty Twelve, so I would guess that you edited the theme directly instead of hiding it via CSS. So the upgrade restored it.

  10. sdpate48
    Member
    Posted 1 year ago #

    No it was edited in Custom CSS not the theme itself. there is something wrong with JetPack because the first screen is empty and cannot be edited. I can look at the past revisions and my code is there but it will not restore.

    Off my issue, putting the featured image at the top of the story with no ability say yes or no seems weird.

    Featured image used to be the thumbnail.

  11. WPyogi
    Forum Moderator
    Posted 1 year ago #

    If JetPack isn't working, try deleting the JetPack folder from your plugins folder and then reinstalling it.

  12. Off my issue, putting the featured image at the top of the story with no ability say yes or no seems weird.

    I do not question design choices. I'm tagging this to Jetpack.

  13. sdpate48
    Member
    Posted 1 year ago #

    Deleting JetPack is a big job. I use the mobile theme changes and they are weird. All the H1,H2, H3 and captions have 2.6em spacing which does not look good on any smartphone. All white space. The only way to fix that is to edit the css file by hand each time they do an update. It's not just cut and paste because they have changes of their own that make sense.

  14. Which precisely is the image that you don't want to be showing?

    If you don't want the image above the title to show, just don't assign a featured image.

    If you don't want one below to show, don't add it to the content.

    Is there an image showing that isn't from either? Screenshots with pointer arrows would help.

  15. George - He can't edit the CSS in Jetpack :)

  16. It sounds like you may have a javascript error -- can you give http://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors a shot and let me know if it solves your issue / what you find?

  17. sdpate48
    Member
    Posted 1 year ago #

    I don't want the featured image to show and I had written CSS code to stop it that worked for more than a year, in all browsers until either 3.7 or twenty-twelve update.

    The same thing happens in IE 11 modern, desktop and Chome

  18. sdpate48
    Member
    Posted 1 year ago #

    There were no JavaScript errors.

  19. The easiest solution would be to just remove the featured image.

    If you'd like to me to debug further, please email me admin credentials to your site -- georgestephanis@automattic.com -- I'm on the Jetpack Pit Crew, and would be glad to help diagnose the Custom CSS issues.

Topic Closed

This topic has been closed to new replies.

About this Topic