• Resolved breichard

    (@breichard)


    When you add links to a video description on YouTube, the url is pasted in plain text and converted to an html link on the YouTube page. When the description is imported by your plugin the links are just plain text. Is there a way to change that or is that a fix you could do? Thanks

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

    (@wpvideogallery)

    1. Open the /wp-content/plugins/automatic-youtube-gallery/public/templates/gallery-thumbnail.php file.

    2. Find the line,
    <div class="ayg-thumbnail-description" style="display: none;"><?php echo wp_kses_post( $description ); ?></div>

    3. Replace it as,
    <div class="ayg-thumbnail-description" style="display: none;"><?php echo wp_kses_post( make_clickable( $description ) ); ?></div>

    4. Save the changes and check now.

    Hope, this solved your issue!

    Thread Starter breichard

    (@breichard)

    That solved it, thanks. I’m not really a fan of hacking plugins, it will have to be redone after every update. But if this is the best solution I can live with it.

    Plugin Contributor wpvideogallery

    (@wpvideogallery)

    Our next version will have this fix included. So, no worries.

    Thread Starter breichard

    (@breichard)

    Perfect. I also changed the code in the theme-classic.php file so the main video description are links also.

    <div class=”ayg-player-description”><?php echo wp_kses_post( make_clickable( $featured_video_description ) ); ?></div>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Links in video description’ is closed to new replies.