How to get link path in custom block for a view?
In your view, in FIELDS add Content: Path

Then in views-view-fields--phrases-block.tpl.php add:

&lt;div class="my-class"&gt; 
    &lt;a class="my-link-class" href="&lt;?php print $fields["field_path"]-&gt;raw; ?&gt;"&gt;Path&lt;/a&gt;
&lt;/div&gt;


if the above doesn't work try:

&lt;a class="my-link-class" href="&lt;?php print $fields["field_path"]-&gt;content; ?&gt;"&gt;Path&lt;/a&gt;


If the 1st and 2nd doesn't work, to make the 2nd one work, get rid off all your html markup, because it's probably printing as href="&lt;span&gt;/yourpath&lt;/span&gt;"

Click on your Path field and unchecked add default classes.



In field settings, uncheck add field wrappers.