WordPress.org

Support

Support » Plugins and Hacks » Cool Video Gallery » [Resolved] [Plugin: Cool Video Gallery] How to get rid of the video description

[Resolved] [Plugin: Cool Video Gallery] How to get rid of the video description

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m just starting to use this plugin, and that is really an awful feature.

    Anyway, I removed it by editing the php file core.php under /plugins/cool-video-gallery/lib.

    Back it up first before making any changes of course.

    Find :

    $out .= ‘<br clear=”all”/><div style=”text-align:center;width:’.$thumb_width.’px;”>’. stripcslashes($video->description).'</div><div class=”clear”></div></div>’;

    I just commented out the entire line, my code below. I just duplicated whatever was in the else statement to keep the change as simple as posible.

    if($options[‘cvg_description’] == 1)
    /* jcr – remove description from under thumbnail */
    // $out .= ‘<br clear=”all”/><div style=”text-align:center;width:’.$thumb_width.’px;”>’. stripcslashes($video->description).'</div><div class=”clear”></div></div>’;
    $out .= ‘<div class=”clear”></div></div>’;
    else
    $out .= ‘<div class=”clear”></div></div>’;

    Result is here. No more text destroying the layout, yet still shown when thumb is clicked or when mouse hovers over thumb.

    http://www.astrasuite.com/astrablog/product-videos-gallery-1/

    I followed your example, does not remove the description.

    what is wrong?

    Try again, make sure it is correct … code above is just removing the description line and copying the one that does not write anything.

    Then clear cache, refresh browser …

    As for the link I posted earlier (http://www.astrasuite.com/astrablog/product-videos-gallery-1/), it’s no longer valid as an example of Cool Video as I have switched from Cool Video to Media Grid, so it’s an example now of Media Grid => http://codecanyon.net/item/media-grid-wordpress-responsive-portfolio/2218545?sso?WT.ac=search_item&WT.seg_1=search_item&WT.z_author=LCweb

    Love it, I can put the description I want as can be seen from my link earlier, it has social stuff like facebook, twitter, etc. And just look at how he put up his instructions under “Walkthrough Videos”, you will want to buy it after watching them 🙂 (not free, Cool Video is free). Support is great too. Does not work with W3TC or other caching plugins. Best to use Plugin Organizer plugin where one can disable caching plugin (or any plugin) for a page/post without affecting the rest.

    I would like to ONLY remove the description from the video gallery.
    leave the titles below the thumbnails

    how to make ?

    There is not enough support for this plugin, authors may be too busy in their real work, find another one …

    In the meantime, I don’t have the software anymore, but maybe you can try to change description to title (don’t know if it will work), in the original code.

    $out .= ‘<br clear=”all”/><div style=”text-align:center;width:’.$thumb_width.’px;”>’. stripcslashes($video->title).'</div><div class=”clear”></div></div>’;

    which plugin free advise me, as easy as cool video gallery ?

    Plugin Author Praveen Rajan

    @praveen-rajan

    May i know the issue you are facing. Please provide more details.

    Regards,
    Praveen Rajan

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Cool Video Gallery] How to get rid of the video description’ is closed to new replies.
Skip to toolbar