1 kieranvyas Apr 12, 2014 00:17
3 kieranvyas Apr 12, 2014 00:39
4 tilqicom Apr 12, 2014 00:42
@kieranvyas wrote earlier:
$Item->permanent_link( array(
'text' => '<i class="fa fa-anchor"></i>',
// or 'text' => '<img class="post-icon" src="http://example.com/myicon.png" alt="Link to full entry" />',
) );Thanks for the reply! Where do I enter this code?
It depends on your skin, but you should probably find it under skins/your_skin/_item_block.inc.php
Find the "permanent_link" line and replace that accordingly.
5 kieranvyas Apr 12, 2014 00:50
@kieranvyas wrote earlier:
@tilqicom wrote earlier:
$Item->permanent_link( array(
'text' => '<i class="fa fa-anchor"></i>',
// or 'text' => '<img class="post-icon" src="http://example.com/myicon.png" alt="Link to full entry" />',
) );Thanks for the reply! Where do I enter this code?
It depends on your skin, but you should probably find it under skins/your_skin/_item_block.inc.php
Find the "permanent_link" line and replace that accordingly.
I have replaced the code in _item_block.inc.php but the image does not show up. The blank sheet icon has disappeared, but my image won't show..
6 kieranvyas Apr 12, 2014 00:55
The code i replaced it with was
// Permalink:
$Item->permanent_link( array(
'text' => '<i class="fa fa-anchor"></i>',
// or 'text' => '<img class="post-icon" src="http://donnacadhobriain.co.uk/images/bubble.png" alt="Link to full entry" />',
) );
7 tilqicom Apr 12, 2014 01:06
@kieranvyas wrote earlier:
The code i replaced it with was
// Permalink:
$Item->permanent_link( array(
'text' => '<i class="fa fa-anchor"></i>',
// or 'text' => '<img class="post-icon" src="http://donnacadhobriain.co.uk/images/bubble.png" alt="Link to full entry" />',
) );
It was just an example, first line refers to fontawesome or summat. 2nd commented out line would do good for you. Like so:
$Item->permanent_link( array(
'text' => '<img class="post-icon" src="http://donnacadhobriain.co.uk/images/bubble.png" alt="Link to full entry" />',
) );
8 kieranvyas Apr 12, 2014 01:30
@kieranvyas wrote earlier:
The code i replaced it with was
// Permalink:
$Item->permanent_link( array(
'text' => '<i class="fa fa-anchor"></i>',
// or 'text' => '<img class="post-icon" src="http://donnacadhobriain.co.uk/images/bubble.png" alt="Link to full entry" />',
) );It was just an example, first line refers to fontawesome or summat. 2nd commented out line would do good for you. Like so:
$Item->permanent_link( array(
'text' => '<img class="post-icon" src="http://donnacadhobriain.co.uk/images/bubble.png" alt="Link to full entry" />',
) );
AMAZING! THANKS