Cool Video Gallery
[resolved] How to get rid of the video description (8 posts)

  1. pro_hunter
    Posted 3 years ago #

    How do you get rid of the video description from the gallery.

    It doesnt look right and i dont really want it there tbh when its there on mouse over image.

    link to show you what i mean

    Help is much appreciated


  2. astrasuite
    Posted 3 years ago #

    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>';
    $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.


  3. daitarn3
    Posted 3 years ago #

    I followed your example, does not remove the description.

    what is wrong?

  4. astrasuite
    Posted 3 years ago #

    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.

  5. daitarn3
    Posted 3 years ago #

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

    how to make ?

  6. astrasuite
    Posted 3 years ago #

    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>';

  7. daitarn3
    Posted 3 years ago #

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

  8. Praveen Rajan
    Plugin Author

    Posted 3 years ago #

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

    Praveen Rajan

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Cool Video Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.