I'm trying to customize the "Continue reading [post name]" link by replacing it with an image, but, whatever I do, it's not functioning.
My blog is http://consciencia.blog.br and its theme is Lightword.
I'm trying to customize the "Continue reading [post name]" link by replacing it with an image, but, whatever I do, it's not functioning.
My blog is http://consciencia.blog.br and its theme is Lightword.
t-p, that didn't function.
In what way didn't it work?.
Please check the code of the_content:
<?php the_content('<img src="http://consciencia.blog.br/wp-content/themes/lightword/images/leiamais.gif" alt="read more" title="Read more..." />'); ?>
Try <?php the_content('<img src="' . bloginfo('template_directory') . '/images/leiamais.gif" alt="read more" title="Read more..." />'); ?>
esmi, I already tried this, but the only thing I've got was a "http://consciencia.blog.br/wp-content/themes/lightword" written on the top of each post and no image.
Sorry - my bad. Try:
<?php the_content('<img src="' . get_bloginfo('template_directory') . '/images/leiamais.gif" alt="read more" title="Read more..." />'); ?>
This is not different.
This topic has been closed to new replies.