Great Update – 1.7.2 / CSS Class for Text maybe?
-
Hey Frank,
great update 1.7.2 – now it is more simple to enter the text below the video.
Just one wish for future updates. Can you add a css class for the text?
With the snippet in functions.phpadd_filter('lyte_match_postparse_template','add_gdpr_note'); function add_gdpr_note($lyte_template) { $gdpr_div = '<div class="lyte_gdpr">This site uses WP YouTube Lyte to embed YouTube video\'s. The thumbnails are loaded from YouTube servers, but those are not tracked by YouTube (no cookies are being set). Upon clicking on the play button however, YouTube can and will collect information about you.</div>'; return $lyte_template.$gdpr_div; }
one could use a class for this. Right now there i no special class for it – and if I add it with the text in the backend, it gets filtered out π
Cheers.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Great Update – 1.7.2 / CSS Class for Text maybe?’ is closed to new replies.