• Resolved bcarney

    (@bcarney)


    Trying to display full description under videos, and get get them to appear in full.

    In YTG / Gallery I’ve put in 0 for Video Excerpt Length, and my shortcode has “thumb_excerpt_length=”0” in it. Yet, I’m still getting “[+] Show More” under some of the videos. How do I correct this?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor wpvideogallery

    (@wpvideogallery)

    The “thumb_excerpt_length” property only affects the description shown below the gallery thumbnails. Unfortunately, our current version doesn’t have any option to disable the “Show More” button and show the full description below the player. I promise that our next version can do this.

    As a quick solution, I have prepared a small patch for you. Kindly try adding the following code to the bottom of your theme’s functions.php file to show the whole description.

    function ayg_override_player_description( $description, $video ) {
        return $video->description;
    }
    add_filter( 'ayg_player_description', 'ayg_override_player_description', 10, 2 );

    Hope this solved your issue:

    Note:

    Unfortunately, we are not able to access your website here. Cloudflare is blocking our IP address. Cloudflare Ray ID:?7c889c44be2d1221

    Thread Starter bcarney

    (@bcarney)

    My apologies on the site being blocked; it is for a local Legislature so we have all non-US access limited. I usually turn that off for situations like this, but I forgot to in this case.

    Adding that code to my functions.php file worked. Thank you for your response!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Full description is not being displayed’ is closed to new replies.