Support » Plugin: Video Sidebar Widgets » Hide Caption

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Denzel Chia

    (@denzel_chia)

    Hi,

    I believe there is already a check in video sidebar widget and post meta video widget. I assume you are using the random video widget.

    Please open up class-randomvideosidebarwidget.php and go to line 245.
    Find the following codes.

    echo "<p class=\"VideoCaption\">$rv_cap</p>";

    and replace with the following codes.

    if(!empty($rv_cap)){echo "<p class=\"VideoCaption\">$rv_cap</p>";};

    Thanks!
    Denzel

    Thanks so much Denzel, this works perfect. Did indeed concern the random widget, perhaps worth including this in a next version?

    Best,
    Jan.

    Plugin Author Denzel Chia

    (@denzel_chia)

    Hi,

    I have included this in version 5.7

    Thanks!
    Denzel

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Caption’ is closed to new replies.