It's time to create new or re-design your websites to bring it to the next level.

Download 100+ Free Joomla! templates Download 100+ Free WordPress themes

Displaying A Link Directly To The Extra Field Image?

Friends! If you want to display link directly to your extra field image then you must strip the default code that K2 uses to insert the image into it’s foreach loop.
You can do it by inserting this directly into your item.php override file.
<?php
$var = $this->item->extraFields->Image->value ;
$var = preg_replace(‘/<img src=”/’,””,$var);
$var = preg_replace(‘/” alt=”Image” \>/’,” “,$var);
echo ‘<a href=”‘ . $var . “TextOfLink” . “</a>” ;
?>

Looking for a free Landing Pages template to start creating your stunning website?

90+ Landing Styles (Onepage) for Joomla! 80+ Landing Styles (Onepage) for WordPress

Spring Sale 2019

eskişehir escort izmit Escort bursa escort bayan ankara escort bayan van escort bayan elazığ escort bayan erzurum escort bayan
[Big Update] All Joomla! templates are ready with Joomla! 3.9.x (latest), preparing for Joomla! 4 Learn More!
[Happy Spring Sale!] Get 25% Discount for Your order! Limited Time => Get Coupon Code!