• Closed
  • Troy Danella
    Spectator
    April 3, 2015 at 5:13 am #16077

    I created a Gallery Post with 6 images and I see a shaded box with the following code where the post summary normally is:

    #gallery-1 { margin: auto; } #gallery-1 .gallery-item { float: left; margin-top: 10px; text-align: center; width: 33%; } #gallery-1 img { border: 2px solid #cfcfcf; } #gallery-1 .gallery-caption { margin-left: 0; } /* see gallery_shortcode() in wp-includes/media.php */ [...]

    I have a few other posts which are fine on the same page as it is set to show a grid of 6 latest posts.

    Any help would be appreciated.

    Troy Danella
    Spectator
    Posts: 14
    April 21, 2015 at 12:43 am #16675

    I will put a copy up on hostgator for you but it will not have anything but a fresh copy of wordpress with evolve and a gallery post. I will let you know when it is there.

    Troy Danella
    Spectator
    Posts: 14
    April 21, 2015 at 4:03 am #16676
    This reply has been marked as private.
    Roman
    Spectator
    Posts: 3147
    April 21, 2015 at 10:56 am #16681

    I updated your theme so it works now..please note you are using an older version of evolve, and these flexslider widgets are not available in the newer version, so if you would wish to update the theme, you will lose them. we are planning to add an alternatives, thanks for your patience

    Troy Danella
    Spectator
    Posts: 14
    April 21, 2015 at 4:59 pm #16683

    So I need to pull another copy of the theme? That site I put up just for you. The site that needs this fix is still on a dev box. Same issue but different site.

    Troy Danella
    Spectator
    Posts: 14
    April 21, 2015 at 6:23 pm #16685

    I need to understand what you did to correct the issue. I need to replicate it on the other site.

    Roman
    Spectator
    Posts: 3147
    April 21, 2015 at 6:38 pm #16687

    I would recommend to download the theme from your website, I installed backup plugin so you can download it, then compress it in a ZIP and upload on the another website. I updated codes which require some programming knowledge

    Troy Danella
    Spectator
    Posts: 14
    April 21, 2015 at 8:37 pm #16689
    This reply has been marked as private.
    Roman
    Spectator
    Posts: 3147
    April 22, 2015 at 10:27 am #16699

    the changes has been made in library/functions/basic-functions.php line #2151:

    echo evolve_truncate($postexcerpt, 180, ' [...]');

    replaced with:

    echo get_the_excerpt();

    and file library/plugins/t4p-slider/classes/class-wooslider-sliders.php line #218 and #219

    $content = $image . '<div class="slide-excerpt"><h2 class="slide-title">' . $title . '</h2>' . $excerpt . '</div>';
    $content = '<div class="slide-excerpt"><h2 class="slide-title">' . $title . '</h2>' . $excerpt . '</div>' . $image;

    replaced with:

    $content = $image . '<div class="slide-excerpt"><h2 class="slide-title">' . $title . '</h2>' . get_the_excerpt() . '</div>';
    $content = '<div class="slide-excerpt"><h2 class="slide-title">' . $title . '</h2>' . get_the_excerpt() . '</div>' . $image;

    Troy Danella
    Spectator
    Posts: 14
    April 22, 2015 at 3:27 pm #16705
    This reply has been marked as private.
    Roman
    Spectator
    Posts: 3147
    April 22, 2015 at 5:05 pm #16710

    no problem…we are here to help 😉