Recent Topics

1 Apr 12, 2014 00:17    

Hi I am struggling to change the image for the icon that sits next to the time on each post. At the moment it is showing as a blank sheet, but I want to insert my own image.

My blog is: http://blog.donnacadhobriain.co.uk/blog1.php

2 Apr 12, 2014 00:36

 $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" />',
) );

3 Apr 12, 2014 00:39

@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?

4 Apr 12, 2014 00:42

@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.

5 Apr 12, 2014 00:50

@tilqicom wrote earlier:

@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..

http://blog.donnacadhobriain.co.uk/blog1.php

6 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 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 Apr 12, 2014 01:30

@tilqicom wrote earlier:

@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


Form is loading...