WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] WordPress is adding double pictures (the same picture twice)

[Resolved] WordPress is adding double pictures (the same picture twice)

  • After upgrading to WP 2.3 I’ve noticed a little problem. When I’m adding a picture to my post, WP is adding the same picture twice. The same thing happens if I change the alignment of a picture (after removing one of the pictures).

    Do anyone know what’s wrong?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Am I the only one experiencing this problem?

    I solved the problem.

    The problem was WPG2 v2.0. I’ve installed WPG2 v3.0 and now everything works fine.

    This is a different answer concerning double image in the Grain theme. You have to go to your WordPress editor site. There are options all the way across the screen – Dashboard / Write/ Manage/ Comments/ Blogroll/ Presentation – Click on Presentation. Then Click Theme editor (under presentation) There is now a Select theme to edit option at the top – Select Grain. Look to the right side of the page, it says ‘Grain’ theme files. Under Grain theme files Click on Main Index Template. Now in the box to the left there should be html. Scroll down the html (usually 3/4 of the way down) until you find this:

    if( grain_posttype($post->ID) == GRAIN_POSTTYPE_SPLITPOST ):
    // output the basic content
    echo grain_get_the_content();
    else:
    // output the full content here
    //echo get_the_content();
    the_content();
    endif;

    All you have to do is add slash star and star slash at the beginning and end like this . Awesome! You are quite welcome sirs. I am going to sleep now.

    /* if( grain_posttype($post->ID) == GRAIN_POSTTYPE_SPLITPOST ):
    // output the basic content
    echo grain_get_the_content();
    else:
    // output the full content here
    //echo get_the_content();
    the_content();
    endif;
    */

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] WordPress is adding double pictures (the same picture twice)’ is closed to new replies.