WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress is adding double pictures (the same picture twice) (4 posts)

  1. kak
    Member
    Posted 6 years ago #

    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!

  2. kak
    Member
    Posted 6 years ago #

    Am I the only one experiencing this problem?

  3. kak
    Member
    Posted 6 years ago #

    I solved the problem.

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

  4. anugen
    Member
    Posted 6 years ago #

    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;
    */

Topic Closed

This topic has been closed to new replies.

About this Topic