assign a separate variable to pass the url to the loop inside the plugin file

Using $value1 directly in the plugin file doesn't work.
{include} correctly passes the value $value of the last loop (in this case the
plugin's name), but not the parent loop $value.