Jump to content

Cloak link


Espen Kristensen

Recommended Posts

Hi.

 

I have added a bootstrap button to my resource_layout.thtml file. Is there any simple why to cloak the link the same way as it is on the title link?

 

I have added this code, but i would like the link cloaked:

 

<?php if ($resource['ListingResource']['type_title'] == 'Coupons'): ?>

<a target="_blank" <?php echo $nofollow ? 'rel="nofollow"' : ''; ?> href="<?php echo $resource['ListingResource']['url']; ?>" class="btn btn-default"><span class="glyphicon glyphicon-tag" style="color:#FFA500"></span> Get deal</a>
<?php endif; ?>
 
Link to comment
×
×
  • Create New...