Support » Plugin: WP YouTube Lyte » Allow target=”_blank”

  • Resolved Philhippos


    It would be nice if you would allow target=”_blank” in the Text to be added under every LYTE video.

Viewing 1 replies (of 1 total)
  • Plugin Author Optimizing Matters


    hey @philhippos;
    You can use LYTE’s API to enforce that with a couple of lines of code, something like this;

    function add_blank($template) {
    	return str_replace('">on YouTube</a>','" target="_blank">on YouTube</a>',$template);

    hope this helps,

Viewing 1 replies (of 1 total)
  • The topic ‘Allow target=”_blank”’ is closed to new replies.